|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | WalSummaryIO |
| struct | WalSummaryFile |
Typedefs | |
| typedef struct WalSummaryIO | WalSummaryIO |
| typedef struct WalSummaryFile | WalSummaryFile |
Functions | |
| List * | GetWalSummaries (TimeLineID tli, XLogRecPtr start_lsn, XLogRecPtr end_lsn) |
| List * | FilterWalSummaries (List *wslist, TimeLineID tli, XLogRecPtr start_lsn, XLogRecPtr end_lsn) |
| bool | WalSummariesAreComplete (List *wslist, XLogRecPtr start_lsn, XLogRecPtr end_lsn, XLogRecPtr *missing_lsn) |
| File | OpenWalSummaryFile (WalSummaryFile *ws, bool missing_ok) |
| void | RemoveWalSummaryIfOlderThan (WalSummaryFile *ws, time_t cutoff_time) |
| int | ReadWalSummary (void *wal_summary_io, void *data, int length) |
| int | WriteWalSummary (void *wal_summary_io, void *data, int length) |
| void | ReportWalSummaryError (void *callback_arg, char *fmt,...) pg_attribute_printf(2 |
|
extern |
Definition at line 100 of file walsummary.c.
References fb(), lappend(), lfirst, NIL, and XLogRecPtrIsValid.
Referenced by PrepareForIncrementalBackup().
|
extern |
Definition at line 43 of file walsummary.c.
References AllocateDir(), fb(), FreeDir(), IsWalSummaryFilename(), lappend(), NIL, palloc_object, ReadDir(), XLOGDIR, and XLogRecPtrIsValid.
Referenced by GetOldestUnsummarizedLSN(), MaybeRemoveOldWalSummaries(), pg_available_wal_summaries(), and PrepareForIncrementalBackup().
|
extern |
Definition at line 205 of file walsummary.c.
References ereport, errcode_for_file_access(), errmsg(), ERROR, fb(), LSN_FORMAT_ARGS, MAXPGPATH, PathNameOpenFile(), snprintf, and XLOGDIR.
Referenced by pg_wal_summary_contents(), and PrepareForIncrementalBackup().
Definition at line 273 of file walsummary.c.
References data, ereport, errcode_for_file_access(), errmsg(), ERROR, fb(), WalSummaryIO::file, FilePathName(), WalSummaryIO::filepos, and FileRead().
Referenced by pg_wal_summary_contents(), and PrepareForIncrementalBackup().
|
extern |
Definition at line 230 of file walsummary.c.
References DEBUG2, ereport, errcode_for_file_access(), errmsg(), errmsg_internal(), ERROR, fb(), LSN_FORMAT_ARGS, lstat, MAXPGPATH, snprintf, and XLOGDIR.
Referenced by MaybeRemoveOldWalSummaries().
|
extern |
Definition at line 138 of file walsummary.c.
References fb(), InvalidXLogRecPtr, lfirst, list_copy(), list_sort(), ListComparatorForWalSummaryFiles(), and NIL.
Referenced by PrepareForIncrementalBackup().
Definition at line 294 of file walsummary.c.
References data, ereport, errcode_for_file_access(), errhint(), errmsg(), ERROR, fb(), WalSummaryIO::file, FilePathName(), WalSummaryIO::filepos, and FileWrite().
Referenced by SummarizeWAL().