1/*-------------------------------------------------------------------------
4 * File synchronization management code.
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/storage/sync.h
11 *-------------------------------------------------------------------------
19 * Type of sync request. These are used to manage the set of pending
20 * requests to call a sync handler's sync or unlink functions at the next
32 * Which set of functions to use to handle a given request. The values of
33 * the enumerators must match the indexes of the function table in sync.c.
46 * A tag identifying a file. Currently it has the members required for md.c's
47 * usage, but sync.c has no knowledge of the internal structure, and it is
48 * liable to change as required by future handlers.
void ProcessSyncRequests(void)
void SyncPreCheckpoint(void)
void RememberSyncRequest(const FileTag *ftag, SyncRequestType type)
@ SYNC_HANDLER_MULTIXACT_MEMBER
@ SYNC_HANDLER_MULTIXACT_OFFSET
void SyncPostCheckpoint(void)
bool RegisterSyncRequest(const FileTag *ftag, SyncRequestType type, bool retryOnError)