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 | |
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')
-rw-r--r-- | src/include/catalog/catversion.h | 2 | ||||
-rw-r--r-- | src/include/miscadmin.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 53c684aa4e3..2df489f32ea 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 201104181 +#define CATALOG_VERSION_NO 201104251 #endif 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; |