aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_stat_statements
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/pg_stat_statements
parent2ed8a8cc5b634d33ea07d681c6b02213da07f792 (diff)
downloadpostgresql-5609cc01c69b80f8788771dc6f5696a459469119.tar.gz
postgresql-5609cc01c69b80f8788771dc6f5696a459469119.zip
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/pg_stat_statements')
-rw-r--r--contrib/pg_stat_statements/pg_stat_statements.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_stat_statements/pg_stat_statements.c b/contrib/pg_stat_statements/pg_stat_statements.c
index 726ba59e2bf..8b2a8bbfe67 100644
--- a/contrib/pg_stat_statements/pg_stat_statements.c
+++ b/contrib/pg_stat_statements/pg_stat_statements.c
@@ -437,7 +437,7 @@ _PG_init(void)
NULL,
NULL);
- EmitWarningsOnPlaceholders("pg_stat_statements");
+ MarkGUCPrefixReserved("pg_stat_statements");
/*
* Request additional shared resources. (These are no-ops if we're not in