diff options
author | Tom Lane | 2009-01-05 13:35:38 +0000 |
---|---|---|
committer | Tom Lane | 2009-01-05 13:35:38 +0000 |
commit | d31d0bc5c81a5c837e0e7f71a0d157fc077d734c (patch) | |
tree | 3192d5c8eb70d52b869212e149f5518716cd6e8b | |
parent | dd7b87276076fd1885b81f8e0b1ac0f83fffe99a (diff) |
Add EmitWarningsOnPlaceholders calls to contrib modules that are likely to
get listed in custom_variable_classes.
-rw-r--r-- | contrib/auto_explain/auto_explain.c | 2 | ||||
-rw-r--r-- | contrib/pg_stat_statements/pg_stat_statements.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/contrib/auto_explain/auto_explain.c b/contrib/auto_explain/auto_explain.c index f76dcbd1c7..aa1ae0bdee 100644 --- a/contrib/auto_explain/auto_explain.c +++ b/contrib/auto_explain/auto_explain.c @@ -94,6 +94,8 @@ _PG_init(void) NULL, NULL); + EmitWarningsOnPlaceholders("auto_explain"); + /* Install hooks. */ prev_ExecutorStart = ExecutorStart_hook; ExecutorStart_hook = explain_ExecutorStart; diff --git a/contrib/pg_stat_statements/pg_stat_statements.c b/contrib/pg_stat_statements/pg_stat_statements.c index 68db77f2b2..81e1dce936 100644 --- a/contrib/pg_stat_statements/pg_stat_statements.c +++ b/contrib/pg_stat_statements/pg_stat_statements.c @@ -222,6 +222,8 @@ _PG_init(void) NULL, NULL); + EmitWarningsOnPlaceholders("pg_stat_statements"); + /* * Request additional shared resources. (These are no-ops if we're not in * the postmaster process.) We'll allocate or attach to the shared |