Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
da2c1b8a
Commit
da2c1b8a
authored
Jan 05, 2009
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add EmitWarningsOnPlaceholders calls to contrib modules that are likely to
get listed in custom_variable_classes.
parent
35c129ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
contrib/auto_explain/auto_explain.c
contrib/auto_explain/auto_explain.c
+3
-1
contrib/pg_stat_statements/pg_stat_statements.c
contrib/pg_stat_statements/pg_stat_statements.c
+3
-1
No files found.
contrib/auto_explain/auto_explain.c
View file @
da2c1b8a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* Copyright (c) 2008-2009, PostgreSQL Global Development Group
* Copyright (c) 2008-2009, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/contrib/auto_explain/auto_explain.c,v 1.
3 2009/01/02 01:16:02
tgl Exp $
* $PostgreSQL: pgsql/contrib/auto_explain/auto_explain.c,v 1.
4 2009/01/05 13:35:38
tgl Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -94,6 +94,8 @@ _PG_init(void)
...
@@ -94,6 +94,8 @@ _PG_init(void)
NULL
,
NULL
,
NULL
);
NULL
);
EmitWarningsOnPlaceholders
(
"auto_explain"
);
/* Install hooks. */
/* Install hooks. */
prev_ExecutorStart
=
ExecutorStart_hook
;
prev_ExecutorStart
=
ExecutorStart_hook
;
ExecutorStart_hook
=
explain_ExecutorStart
;
ExecutorStart_hook
=
explain_ExecutorStart
;
...
...
contrib/pg_stat_statements/pg_stat_statements.c
View file @
da2c1b8a
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* Copyright (c) 2008-2009, PostgreSQL Global Development Group
* Copyright (c) 2008-2009, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/contrib/pg_stat_statements/pg_stat_statements.c,v 1.
1 2009/01/04 22:19:59
tgl Exp $
* $PostgreSQL: pgsql/contrib/pg_stat_statements/pg_stat_statements.c,v 1.
2 2009/01/05 13:35:38
tgl Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -222,6 +222,8 @@ _PG_init(void)
...
@@ -222,6 +222,8 @@ _PG_init(void)
NULL
,
NULL
,
NULL
);
NULL
);
EmitWarningsOnPlaceholders
(
"pg_stat_statements"
);
/*
/*
* Request additional shared resources. (These are no-ops if we're not in
* Request additional shared resources. (These are no-ops if we're not in
* the postmaster process.) We'll allocate or attach to the shared
* the postmaster process.) We'll allocate or attach to the shared
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment