diff options
| author | Tom Lane | 2017-03-14 16:47:46 +0000 |
|---|---|---|
| committer | Tom Lane | 2017-03-14 16:47:53 +0000 |
| commit | 5ed6fff6b729c3cce55d4abc8f695da93aa40a0d (patch) | |
| tree | 92221a98d22c6e408c8c2f988da6dd8d37e76305 /src/include/access | |
| parent | c6c099d31abd5ae22265787d4ab5fc9b3f563c87 (diff) | |
Make logging about multixact wraparound protection less chatty.
The original messaging design, introduced in commit 068cfadf9, seems too
chatty now that some time has elapsed since the bug fix; most installations
will be in good shape and don't really need a reminder about this on every
postmaster start.
Hence, arrange to suppress the "wraparound protections are now enabled"
message during startup (specifically, during the TrimMultiXact() call).
The message will still appear if protection becomes effective at some
later point.
Discussion: https://postgr.es/m/17211.1489189214@sss.pgh.pa.us
Diffstat (limited to 'src/include/access')
| -rw-r--r-- | src/include/access/multixact.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/multixact.h b/src/include/access/multixact.h index 1d01988bb82..85997a41fa3 100644 --- a/src/include/access/multixact.h +++ b/src/include/access/multixact.h @@ -127,7 +127,8 @@ extern void StartupMultiXact(void); extern void TrimMultiXact(void); extern void ShutdownMultiXact(void); extern void SetMultiXactIdLimit(MultiXactId oldest_datminmxid, - Oid oldest_datoid); + Oid oldest_datoid, + bool is_startup); extern void MultiXactGetCheckptMulti(bool is_shutdown, MultiXactId *nextMulti, MultiXactOffset *nextMultiOffset, |
