18#define SyncRepRequested() \
19 (max_wal_senders > 0 && synchronous_commit > SYNCHRONOUS_COMMIT_LOCAL_FLUSH)
22#define SYNC_REP_NO_WAIT (-1)
23#define SYNC_REP_WAIT_WRITE 0
24#define SYNC_REP_WAIT_FLUSH 1
25#define SYNC_REP_WAIT_APPLY 2
27#define NUM_SYNC_REP_WAIT_MODE 3
30#define SYNC_REP_NOT_WAITING 0
31#define SYNC_REP_WAITING 1
32#define SYNC_REP_WAIT_COMPLETE 2
35#define SYNC_REP_PRIORITY 0
36#define SYNC_REP_QUORUM 1
100#ifndef YY_TYPEDEF_YY_SCANNER_T
101#define YY_TYPEDEF_YY_SCANNER_T
#define FLEXIBLE_ARRAY_MEMBER
char member_names[FLEXIBLE_ARRAY_MEMBER]
int sync_standby_priority
void SyncRepInitConfig(void)
void SyncRepWaitForLSN(XLogRecPtr lsn, bool commit)
struct SyncRepConfigData SyncRepConfigData
void syncrep_scanner_finish(yyscan_t yyscanner)
struct SyncRepStandbyData SyncRepStandbyData
int SyncRepGetCandidateStandbys(SyncRepStandbyData **standbys)
void syncrep_scanner_init(const char *str, yyscan_t *yyscannerp)
void SyncRepReleaseWaiters(void)
PGDLLIMPORT SyncRepConfigData * SyncRepConfig
PGDLLIMPORT char * SyncRepStandbyNames
void SyncRepUpdateSyncStandbysDefined(void)
int syncrep_yylex(union YYSTYPE *yylval_param, char **syncrep_parse_error_msg_p, yyscan_t yyscanner)
int syncrep_yyparse(SyncRepConfigData **syncrep_parse_result_p, char **syncrep_parse_error_msg_p, yyscan_t yyscanner)
void SyncRepCleanupAtProcExit(void)
void syncrep_yyerror(SyncRepConfigData **syncrep_parse_result_p, char **syncrep_parse_error_msg_p, yyscan_t yyscanner, const char *str)