1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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
This commit is contained in:
Tom Lane
2021-12-27 14:39:08 -05:00
parent 2ed8a8cc5b
commit 5609cc01c6
15 changed files with 24 additions and 17 deletions

View File

@ -231,7 +231,7 @@ _PG_init(void)
NULL,
NULL);
EmitWarningsOnPlaceholders("auto_explain");
MarkGUCPrefixReserved("auto_explain");
/* Install hooks. */
prev_ExecutorStart = ExecutorStart_hook;