mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Add postmaster/postgres undocumented -b option for binary upgrades.
This option turns off autovacuum, prevents non-super-user connections, and enables oid setting hooks in the backend. The code continues to use the old autoavacuum disable settings for servers with earlier catalog versions. This includes a catalog version bump to identify servers that support the -b option.
This commit is contained in:
@@ -124,6 +124,7 @@ do { \
|
||||
extern pid_t PostmasterPid;
|
||||
extern bool IsPostmasterEnvironment;
|
||||
extern PGDLLIMPORT bool IsUnderPostmaster;
|
||||
extern bool IsBinaryUpgrade;
|
||||
|
||||
extern bool ExitOnAnyError;
|
||||
|
||||
|
Reference in New Issue
Block a user