mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
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.
This commit is contained in:
@@ -1147,6 +1147,9 @@ extern Datum set_config_by_name(PG_FUNCTION_ARGS);
|
||||
extern Datum show_all_settings(PG_FUNCTION_ARGS);
|
||||
extern Datum show_all_file_settings(PG_FUNCTION_ARGS);
|
||||
|
||||
/* pg_config.c */
|
||||
extern Datum pg_config(PG_FUNCTION_ARGS);
|
||||
|
||||
/* rls.c */
|
||||
extern Datum row_security_active(PG_FUNCTION_ARGS);
|
||||
extern Datum row_security_active_name(PG_FUNCTION_ARGS);
|
||||
|
||||
Reference in New Issue
Block a user