From: Joe Conway <mail@joeconway.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add new system view, pg_config
Date: Wed, 17 Feb 2016 17:12:49 +0000
Message-ID: <E1aW5ej-0004U0-6J@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add new system view, pg_config
Move and refactor the underlying code for the pg_config client
application to src/common in support of sharing it with a new
system information SRF called pg_config() which makes the same
information available via SQL. Additionally wrap the SRF with a
new system view, as called pg_config.
Patch by me with extensive input and review by Michael Paquier
and additional review by Alvaro Herrera.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/a5c43b886942e96ec5c745041f2d6a50c3205147
Modified Files
--------------
doc/src/sgml/catalogs.sgml | 52 +++++
src/backend/catalog/system_views.sql | 6 +
src/backend/utils/misc/Makefile | 4 +-
src/backend/utils/misc/pg_config.c | 103 +++++++++
src/bin/pg_config/Makefile | 14 --
src/bin/pg_config/pg_config.c | 429 ++++-------------------------------
src/common/Makefile | 19 +-
src/common/config_info.c | 206 +++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 4 +
src/include/common/config_info.h | 21 ++
src/include/port.h | 1 +
src/include/utils/builtins.h | 3 +
src/port/path.c | 30 +++
src/test/regress/expected/rules.out | 3 +
src/tools/msvc/Mkvcbuild.pm | 4 +-
16 files changed, 491 insertions(+), 410 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: mail@joeconway.com
Subject: Re: pgsql: Add new system view, pg_config
In-Reply-To: <E1aW5ej-0004U0-6J@gemulon.postgresql.org>
References: <E1aW5ej-0004U0-6J@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