From 76dd09bbec893c02376e3440a6a86a3b994d804c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 25 Apr 2011 12:00:21 -0400 Subject: 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. --- src/include/miscadmin.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/miscadmin.h') diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index aa8cce5ca81..9d194171a56 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -124,6 +124,7 @@ do { \ extern pid_t PostmasterPid; extern bool IsPostmasterEnvironment; extern PGDLLIMPORT bool IsUnderPostmaster; +extern bool IsBinaryUpgrade; extern bool ExitOnAnyError; -- cgit v1.2.3