]> granicus.if.org Git - postgresql/commit
Add new system view, pg_config
authorJoe Conway <mail@joeconway.com>
Wed, 17 Feb 2016 17:12:06 +0000 (09:12 -0800)
committerJoe Conway <mail@joeconway.com>
Wed, 17 Feb 2016 17:12:06 +0000 (09:12 -0800)
commita5c43b886942e96ec5c745041f2d6a50c3205147
treeb7d1967286366131bc65d34457fb0ba91ec710b8
parentf1f5ec1efafe74ca45e24e0bf3371b1d6985c8ee
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.
16 files changed:
doc/src/sgml/catalogs.sgml
src/backend/catalog/system_views.sql
src/backend/utils/misc/Makefile
src/backend/utils/misc/pg_config.c [new file with mode: 0644]
src/bin/pg_config/Makefile
src/bin/pg_config/pg_config.c
src/common/Makefile
src/common/config_info.c [new file with mode: 0644]
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/common/config_info.h [new file with mode: 0644]
src/include/port.h
src/include/utils/builtins.h
src/port/path.c
src/test/regress/expected/rules.out
src/tools/msvc/Mkvcbuild.pm