summaryrefslogtreecommitdiff
path: root/src/include/storage/sinval.h
diff options
context:
space:
mode:
authorSimon Riggs2010-02-13 16:15:48 +0000
committerSimon Riggs2010-02-13 16:15:48 +0000
commitdd428c79a4d89867758443b7b5aac45137685f11 (patch)
treecf6c4d95ef6105a9edd1a3b80b22c238358da1e3 /src/include/storage/sinval.h
parenta5acb7dfb94391c7b19691786186033993d82b34 (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.h5
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 */