summaryrefslogtreecommitdiff
path: root/src/include/access/multixact.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-12-02 13:28:10 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-12-02 13:28:10 -0300
commit3d974e303da29ff97822212ab8722d6e366c5119 (patch)
treef66ebb305b5a13c4529dabada1c5ec7ef301272b /src/include/access/multixact.h
parent8269e4091c45f05d92a7b22a3d5bf96e197bf45b (diff)
Fix incomplete backpatch of pg_multixact truncation changes to <= 9.2
The backpatch of a95335b544d9c8377e9dc7a399d8e9a155895f82 to 9.2, 9.1 and 9.0 was incomplete, missing changes to xlog.c, primarily the call to TrimMultiXact(). Testing presumably didn't show a problem without these changes because TrimMultiXact() performs defense-in-depth work, which is not strictly necessary. It also missed moving StartupMultiXact() which would have been problematic if a restartpoing happened in exactly the wrong moment, causing a transient error. Andres Freund
Diffstat (limited to 'src/include/access/multixact.h')
-rw-r--r--src/include/access/multixact.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/access/multixact.h b/src/include/access/multixact.h
index c9a3a3d52db..3a21033f535 100644
--- a/src/include/access/multixact.h
+++ b/src/include/access/multixact.h
@@ -59,6 +59,7 @@ extern Size MultiXactShmemSize(void);
extern void MultiXactShmemInit(void);
extern void BootStrapMultiXact(void);
extern void StartupMultiXact(void);
+extern void TrimMultiXact(void);
extern void ShutdownMultiXact(void);
extern void MultiXactGetCheckptMulti(bool is_shutdown,
MultiXactId *nextMulti,