File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -4181,3 +4181,10 @@ reset nls_date_format;
41814181reset nls_timestamp_format;
41824182reset nls_timestamp_tz_format;
41834183reset default_text_search_config;
4184+ -- should throw errors, because dummy_config is not a valid configuration name
4185+ set ivorysql.dummy_config to dummy;
4186+ ERROR: invalid configuration parameter name "ivorysql.dummy_config"
4187+ DETAIL: "ivorysql" is a reserved prefix.
4188+ reset ivorysql.dummy_config;
4189+ ERROR: invalid configuration parameter name "ivorysql.dummy_config"
4190+ DETAIL: "ivorysql" is a reserved prefix.
Original file line number Diff line number Diff line change @@ -2345,3 +2345,6 @@ reset nls_date_format;
23452345reset nls_timestamp_format;
23462346reset nls_timestamp_tz_format;
23472347reset default_text_search_config;
2348+ -- should throw errors, because dummy_config is not a valid configuration name
2349+ set ivorysql .dummy_config to dummy;
2350+ reset ivorysql .dummy_config ;
Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ _PG_init(void)
113113 /* ProcessUtility hook for DISCARD ALL/PACKAGES */
114114 prev_ProcessUtility_hook = ProcessUtility_hook ;
115115 ProcessUtility_hook = ivorysql_ora_ProcessUtility ;
116+
117+ MarkGUCPrefixReserved ("ivorysql" );
116118}
117119
118120/*
You can’t perform that action at this time.
0 commit comments