]> granicus.if.org Git - postgresql/commit
Add a SHOW command to the replication command language.
authorRobert Haas <rhaas@postgresql.org>
Tue, 24 Jan 2017 21:59:18 +0000 (16:59 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 24 Jan 2017 22:04:12 +0000 (17:04 -0500)
commitd1ecd539477fe640455dc890216a7c1561e047b4
treeca06f30b774ae4a1a8ba1cbb706380f6cdf63fa3
parenta84069d9350400c860d5e932b50dfd337aa407b0
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
doc/src/sgml/protocol.sgml
src/backend/access/common/tupdesc.c
src/backend/replication/repl_gram.y
src/backend/replication/repl_scanner.l
src/backend/replication/walsender.c
src/backend/utils/misc/guc.c
src/include/access/tupdesc.h