summaryrefslogtreecommitdiff
path: root/contrib/sepgsql/hooks.c
diff options
context:
space:
mode:
authorTom Lane2021-12-27 19:39:08 +0000
committerTom Lane2021-12-27 19:39:08 +0000
commit5609cc01c69b80f8788771dc6f5696a459469119 (patch)
tree0279a68e9ef62e1b145fac7733b869ddce8e19df /contrib/sepgsql/hooks.c
parent2ed8a8cc5b634d33ea07d681c6b02213da07f792 (diff)
Rename EmitWarningsOnPlaceholders() to MarkGUCPrefixReserved().
This seems like a clearer name for what it does now. Provide a compatibility macro so that extensions don't have to convert to the new name right away. Discussion: https://postgr.es/m/116024.1640111629@sss.pgh.pa.us
Diffstat (limited to 'contrib/sepgsql/hooks.c')
-rw-r--r--contrib/sepgsql/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sepgsql/hooks.c b/contrib/sepgsql/hooks.c
index 44a09c35a7c..c0d977d4fab 100644
--- a/contrib/sepgsql/hooks.c
+++ b/contrib/sepgsql/hooks.c
@@ -455,7 +455,7 @@ _PG_init(void)
NULL,
NULL);
- EmitWarningsOnPlaceholders("sepgsql");
+ MarkGUCPrefixReserved("sepgsql");
/* Initialize userspace access vector cache */
sepgsql_avc_init();