diff options
author | Bruce Momjian | 2011-04-25 16:00:21 +0000 |
---|---|---|
committer | Bruce Momjian | 2011-04-25 16:00:21 +0000 |
commit | 76dd09bbec893c02376e3440a6a86a3b994d804c (patch) | |
tree | 721a384f3511d2dc72642afeea48629019a15bb3 /src/include/miscadmin.h | |
parent | 02e6a115cc6149551527a45545fd1ef8d37e6aa0 (diff) |
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.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |