diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-12-27 14:39:08 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-12-27 14:39:08 -0500 |
commit | 5609cc01c69b80f8788771dc6f5696a459469119 (patch) | |
tree | 0279a68e9ef62e1b145fac7733b869ddce8e19df /contrib/auto_explain/auto_explain.c | |
parent | 2ed8a8cc5b634d33ea07d681c6b02213da07f792 (diff) | |
download | postgresql-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/auto_explain/auto_explain.c')
-rw-r--r-- | contrib/auto_explain/auto_explain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/auto_explain/auto_explain.c b/contrib/auto_explain/auto_explain.c index 59ba63455fd..a695fba0c57 100644 --- a/contrib/auto_explain/auto_explain.c +++ b/contrib/auto_explain/auto_explain.c @@ -231,7 +231,7 @@ _PG_init(void) NULL, NULL); - EmitWarningsOnPlaceholders("auto_explain"); + MarkGUCPrefixReserved("auto_explain"); /* Install hooks. */ prev_ExecutorStart = ExecutorStart_hook; |