From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add postmaster/postgres undocumented -b option for binary upgrad |
Date: | 2011-04-25 16:04:41 |
Message-ID: | E1QEOHB-0007hm-7g@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/76dd09bbec893c02376e3440a6a86a3b994d804c
Modified Files
--------------
contrib/pg_upgrade/check.c | 2 +-
contrib/pg_upgrade/pg_upgrade.h | 4 +++-
contrib/pg_upgrade/server.c | 22 ++++++++++++----------
src/backend/catalog/heap.c | 6 ++++--
src/backend/catalog/index.c | 3 ++-
src/backend/catalog/pg_enum.c | 3 ++-
src/backend/catalog/pg_type.c | 4 ++--
src/backend/catalog/toasting.c | 5 +++--
src/backend/commands/typecmds.c | 2 +-
src/backend/commands/user.c | 2 +-
src/backend/postmaster/postmaster.c | 18 ++++++++++++++----
src/backend/tcop/postgres.c | 7 ++++++-
src/backend/utils/init/globals.c | 1 +
src/backend/utils/init/postinit.c | 10 ++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/miscadmin.h | 1 +
16 files changed, 64 insertions(+), 28 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2011-04-25 16:41:26 | pgsql: Give getopt() a prototype and modern style arg specs. |
Previous Message | Robert Haas | 2011-04-25 13:52:36 | pgsql: Add fast paths for cases when no serializable transactions are r |