summaryrefslogtreecommitdiff
path: root/contrib/sepgsql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-12-27 14:39:08 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-12-27 14:39:08 -0500
commit5609cc01c69b80f8788771dc6f5696a459469119 (patch)
tree0279a68e9ef62e1b145fac7733b869ddce8e19df /contrib/sepgsql
parent2ed8a8cc5b634d33ea07d681c6b02213da07f792 (diff)
downloadpostgresql-5609cc01c69b80f8788771dc6f5696a459469119.tar.gz
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')
-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 44a09c35a7..c0d977d4fa 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();