1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-24 06:01:07 +03:00

Revert changes about warnings/errors for placeholders.

Revert commits 5609cc01c, 2ed8a8cc5, and 75d22069e until we have
a less broken idea of how this should work in parallel workers.
Per buildfarm.

Discussion: https://postgr.es/m/1640909.1640638123@sss.pgh.pa.us
This commit is contained in:
Tom Lane
2021-12-27 16:01:10 -05:00
parent 5609cc01c6
commit cab5b9ab2c
17 changed files with 27 additions and 95 deletions

View File

@@ -68,7 +68,7 @@ _PG_init(void)
NULL,
NULL);
MarkGUCPrefixReserved("auth_delay");
EmitWarningsOnPlaceholders("auth_delay");
/* Install Hooks */
original_client_auth_hook = ClientAuthentication_hook;

View File

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

View File

@@ -136,7 +136,7 @@ _PG_init(void)
NULL,
NULL);
MarkGUCPrefixReserved("pg_prewarm");
EmitWarningsOnPlaceholders("pg_prewarm");
RequestAddinShmemSpace(MAXALIGN(sizeof(AutoPrewarmSharedState)));

View File

@@ -437,7 +437,7 @@ _PG_init(void)
NULL,
NULL);
MarkGUCPrefixReserved("pg_stat_statements");
EmitWarningsOnPlaceholders("pg_stat_statements");
/*
* Request additional shared resources. (These are no-ops if we're not in

View File

@@ -101,7 +101,7 @@ _PG_init(void)
NULL,
NULL);
MarkGUCPrefixReserved("pg_trgm");
EmitWarningsOnPlaceholders("pg_trgm");
}
/*

View File

@@ -532,5 +532,5 @@ _PG_init(void)
NULL,
NULL);
MarkGUCPrefixReserved("postgres_fdw");
EmitWarningsOnPlaceholders("postgres_fdw");
}

View File

@@ -455,7 +455,7 @@ _PG_init(void)
NULL,
NULL);
MarkGUCPrefixReserved("sepgsql");
EmitWarningsOnPlaceholders("sepgsql");
/* Initialize userspace access vector cache */
sepgsql_avc_init();