diff options
| author | Joe Conway | 2016-02-17 17:12:06 +0000 |
|---|---|---|
| committer | Joe Conway | 2016-02-17 17:12:06 +0000 |
| commit | a5c43b886942e96ec5c745041f2d6a50c3205147 (patch) | |
| tree | b7d1967286366131bc65d34457fb0ba91ec710b8 /src/test | |
| parent | f1f5ec1efafe74ca45e24e0bf3371b1d6985c8ee (diff) | |
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.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/rules.out | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/regress/expected/rules.out b/src/test/regress/expected/rules.out index 2bdba2d1a18..81bc5c9504b 100644 --- a/src/test/regress/expected/rules.out +++ b/src/test/regress/expected/rules.out @@ -1305,6 +1305,9 @@ pg_available_extensions| SELECT e.name, e.comment FROM (pg_available_extensions() e(name, default_version, comment) LEFT JOIN pg_extension x ON ((e.name = x.extname))); +pg_config| SELECT pg_config.name, + pg_config.setting + FROM pg_config() pg_config(name, setting); pg_cursors| SELECT c.name, c.statement, c.is_holdable, |
