OSDN Git Service

Fix relcache init file invalidation during Hot Standby for the case
authorSimon Riggs <simon@2ndQuadrant.com>
Sat, 13 Feb 2010 16:15:48 +0000 (16:15 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Sat, 13 Feb 2010 16:15:48 +0000 (16:15 +0000)
commitdd428c79a4d89867758443b7b5aac45137685f11
treecf6c4d95ef6105a9edd1a3b80b22c238358da1e3
parenta5acb7dfb94391c7b19691786186033993d82b34
Fix relcache init file invalidation during Hot Standby for the case
where a database has a non-default tablespaceid. Pass thru MyDatabaseId
and MyDatabaseTableSpace to allow file path to be re-created in
standby and correct invalidation to take place in all cases.
Update and rework xact_commit_desc() debug messages.
Bug report from Tom by code inspection. Fix by me.
src/backend/access/transam/xact.c
src/backend/utils/cache/inval.c
src/include/access/xact.h
src/include/storage/sinval.h