mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Custom WAL Resource Managers.
Allow extensions to specify a new custom resource manager (rmgr), which allows specialized WAL. This is meant to be used by a Table Access Method or Index Access Method. Prior to this commit, only Generic WAL was available, which offers support for recovery and physical replication but not logical replication. Reviewed-by: Julien Rouhaud, Bharath Rupireddy, Andres Freund Discussion: https://postgr.es/m/ed1fb2e22d15d3563ae0eb610f7b61bb15999c0a.camel%40j-davis.com
This commit is contained in:
@@ -1039,6 +1039,12 @@ PostmasterMain(int argc, char *argv[])
|
||||
*/
|
||||
InitializeShmemGUCs();
|
||||
|
||||
/*
|
||||
* Now that modules have been loaded, we can process any custom resource
|
||||
* managers specified in the wal_consistency_checking GUC.
|
||||
*/
|
||||
InitializeWalConsistencyChecking();
|
||||
|
||||
/*
|
||||
* If -C was specified with a runtime-computed GUC, we held off printing
|
||||
* the value earlier, as the GUC was not yet initialized. We handle -C
|
||||
|
||||
Reference in New Issue
Block a user