1/*-------------------------------------------------------------------------
4 * rmgr descriptor routines for storage/ipc/standby.c
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
11 * src/backend/access/rmgrdesc/standbydesc.c
13 *-------------------------------------------------------------------------
31 for (
i = 0;
i < xlrec->
xcnt;
i++)
81 const char *
id = NULL;
99/* also used by non-standby records having analogous invalidation fields */
104 bool relcacheInitFileInval)
108 /* Do nothing if there are no invalidation messages */
112 if (relcacheInitFileInval)
117 for (
i = 0;
i < nmsgs;
i++)
127 /* not expected, but print something anyway */
130 /* not expected, but print something anyway */
#define SHAREDINVALCATALOG_ID
#define SHAREDINVALRELSYNC_ID
#define SHAREDINVALSMGR_ID
#define SHAREDINVALSNAPSHOT_ID
#define SHAREDINVALRELCACHE_ID
#define SHAREDINVALRELMAP_ID
#define XLOG_INVALIDATIONS
#define XLOG_STANDBY_LOCK
#define XLOG_RUNNING_XACTS
void standby_desc(StringInfo buf, XLogReaderState *record)
const char * standby_identify(uint8 info)
void standby_desc_invalidations(StringInfo buf, int nmsgs, SharedInvalidationMessage *msgs, Oid dbId, Oid tsId, bool relcacheInitFileInval)
static void standby_desc_running_xacts(StringInfo buf, xl_running_xacts *xlrec)
void appendStringInfo(StringInfo str, const char *fmt,...)
void appendStringInfoString(StringInfo str, const char *s)
SharedInvalidationMessage msgs[FLEXIBLE_ARRAY_MEMBER]
bool relcacheInitFileInval
TransactionId latestCompletedXid
TransactionId oldestRunningXid
TransactionId xids[FLEXIBLE_ARRAY_MEMBER]
xl_standby_lock locks[FLEXIBLE_ARRAY_MEMBER]
SharedInvalRelcacheMsg rc
SharedInvalCatalogMsg cat
SharedInvalSnapshotMsg sn
#define XLogRecGetInfo(decoder)
#define XLogRecGetData(decoder)