mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Add an optional missing_ok argument to SQL function current_setting().
This allows convenient checking for existence of a GUC from SQL, which is particularly useful when dealing with custom variables. David Christensen, reviewed by Jeevan Chalke
This commit is contained in:
@@ -1114,6 +1114,7 @@ extern Datum quote_nullable(PG_FUNCTION_ARGS);
|
||||
|
||||
/* guc.c */
|
||||
extern Datum show_config_by_name(PG_FUNCTION_ARGS);
|
||||
extern Datum show_config_by_name_missing_ok(PG_FUNCTION_ARGS);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user