From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add a SHOW command to the replication command language.
Date: Tue, 24 Jan 2017 22:04:33 +0000
Message-ID: <E1cW9Cb-00083N-FG@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add a SHOW command to the replication command language.
This is useful infrastructure for an upcoming proposed patch to
allow the WAL segment size to be changed at initdb time; tools like
pg_basebackup need the ability to interrogate the server setting.
But it also doesn't seem like a bad thing to have independently of
that; it may find other uses in the future.
Robert Haas and Beena Emerson. (The original patch here was by
Beena, but I rewrote it to such a degree that most of the code
being committed here is mine.)
Discussion: http://postgr.es/m/CA+TgmobNo4qz06wHEmy9DszAre3dYx-WNhHSCbU9SAwf+9Ft6g@mail.gmail.com
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/d1ecd539477fe640455dc890216a7c1561e047b4
Modified Files
--------------
doc/src/sgml/protocol.sgml | 24 +++++++++++
src/backend/access/common/tupdesc.c | 79 ++++++++++++++++++++++++++++++++++
src/backend/replication/repl_gram.y | 22 +++++++++-
src/backend/replication/repl_scanner.l | 1 +
src/backend/replication/walsender.c | 12 ++++++
src/backend/utils/misc/guc.c | 16 +++----
src/include/access/tupdesc.h | 7 +++
7 files changed, 151 insertions(+), 10 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Add a SHOW command to the replication command language.
In-Reply-To: <E1cW9Cb-00083N-FG@gemulon.postgresql.org>
References: <E1cW9Cb-00083N-FG@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox