diff options
author | Jeff Davis <jdavis@postgresql.org> | 2022-04-08 00:02:10 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2022-04-08 00:26:44 -0700 |
commit | 2258e76f90bf0254504644df0515cddc0c0a87f9 (patch) | |
tree | 3b88e93614a4e065aa4cbf2d6ff3be25052d0822 /src/include/access/xlog_internal.h | |
parent | 708007dced2b05ed9b4f1963e91b2eb67413bd19 (diff) | |
download | postgresql-2258e76f90bf0254504644df0515cddc0c0a87f9.tar.gz postgresql-2258e76f90bf0254504644df0515cddc0c0a87f9.zip |
Add contrib/pg_walinspect.
Provides similar functionality to pg_waldump, but from a SQL interface
rather than a separate utility.
Author: Bharath Rupireddy
Reviewed-by: Greg Stark, Kyotaro Horiguchi, Andres Freund, Ashutosh Sharma, Nitin Jadhav, RKN Sai Krishna
Discussion: https://postgr.es/m/CALj2ACUGUYXsEQdKhEdsBzhGEyF3xggvLdD8C0VT72TNEfOiog%40mail.gmail.com
Diffstat (limited to 'src/include/access/xlog_internal.h')
-rw-r--r-- | src/include/access/xlog_internal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index d9df7f295d5..750f6341205 100644 --- a/src/include/access/xlog_internal.h +++ b/src/include/access/xlog_internal.h @@ -320,7 +320,7 @@ typedef struct RmgrData struct XLogRecordBuffer *buf); } RmgrData; -extern RmgrData RmgrTable[]; +extern PGDLLIMPORT RmgrData RmgrTable[]; extern void RmgrStartup(void); extern void RmgrCleanup(void); extern void RmgrNotFound(RmgrId rmid); @@ -350,6 +350,10 @@ extern XLogRecPtr RequestXLogSwitch(bool mark_unimportant); extern void GetOldestRestartPoint(XLogRecPtr *oldrecptr, TimeLineID *oldtli); +extern void XLogRecGetBlockRefInfo(XLogReaderState *record, bool pretty, + bool detailed_format, StringInfo buf, + uint32 *fpi_len); + /* * Exported for the functions in timeline.c and xlogarchive.c. Only valid * in the startup process. |