diff options
| author | Simon Riggs | 2010-02-13 16:15:48 +0000 |
|---|---|---|
| committer | Simon Riggs | 2010-02-13 16:15:48 +0000 |
| commit | dd428c79a4d89867758443b7b5aac45137685f11 (patch) | |
| tree | cf6c4d95ef6105a9edd1a3b80b22c238358da1e3 /src/include/storage/sinval.h | |
| parent | a5acb7dfb94391c7b19691786186033993d82b34 (diff) | |
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.
Diffstat (limited to 'src/include/storage/sinval.h')
| -rw-r--r-- | src/include/storage/sinval.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/storage/sinval.h b/src/include/storage/sinval.h index bad8f505427..70148c3f27a 100644 --- a/src/include/storage/sinval.h +++ b/src/include/storage/sinval.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/sinval.h,v 1.57 2010/02/07 20:48:13 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/sinval.h,v 1.58 2010/02/13 16:15:48 sriggs Exp $ * *------------------------------------------------------------------------- */ @@ -134,6 +134,7 @@ extern bool DisableCatchupInterrupt(void); extern int xactGetCommittedInvalidationMessages(SharedInvalidationMessage **msgs, bool *RelcacheInitFileInval); extern void ProcessCommittedInvalidationMessages(SharedInvalidationMessage *msgs, - int nmsgs, bool RelcacheInitFileInval); + int nmsgs, bool RelcacheInitFileInval, + Oid dbid, Oid tsid); #endif /* SINVAL_H */ |
