From a5c43b886942e96ec5c745041f2d6a50c3205147 Mon Sep 17 00:00:00 2001 From: Joe Conway Date: Wed, 17 Feb 2016 09:12:06 -0800 Subject: 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. --- doc/src/sgml/catalogs.sgml | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 412c8450ba4..d77e99988ff 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -7349,6 +7349,11 @@ available versions of extensions + + pg_config + compile-time configuration parameters + + pg_cursors open cursors @@ -7609,6 +7614,53 @@ + + <structname>pg_config</structname> + + + pg_config + + + + The view pg_config describes the + compile-time configuration parameters of the currently installed + version of PostgreSQL. It is intended, for example, to + be used by software packages that want to interface to + PostgreSQL to facilitate finding the required header + files and libraries. It provides the same basic information as the + PostgreSQL Client + Application. + + + + <structname>pg_config</> Columns + + + + Name + Type + Description + + + + + + name + text + The parameter name + + + + setting + text + The parameter value + + + +
+ +
+ <structname>pg_cursors</structname> -- cgit v1.2.3