index e01d9f0cfe81e1067a1d372327ae8b7759e2869d..e1d643b013d77caf3ac51a52311c0a561d981d8f 100644 (file)
if (summarize_wal && wal_level == WAL_LEVEL_MINIMAL)
ereport(ERROR,
(errmsg("WAL cannot be summarized when \"wal_level\" is \"minimal\"")));
+ if (sync_replication_slots && wal_level < WAL_LEVEL_LOGICAL)
+ ereport(ERROR,
+ (errmsg("replication slot synchronization (\"sync_replication_slots\" = on) requires \"wal_level\" >= \"logical\"")));
/*
* Other one-time internal sanity checks can go here, if they are fast.