6
6
* Copyright (c) 2008-2010, PostgreSQL Global Development Group
7
7
*
8
8
* IDENTIFICATION
9
- * $PostgreSQL: pgsql/contrib/auto_explain/auto_explain.c,v 1.11 2010/01/02 16:57:32 momjian Exp $
9
+ * $PostgreSQL: pgsql/contrib/auto_explain/auto_explain.c,v 1.12 2010/01/06 18:07:19 tgl Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -151,7 +151,7 @@ _PG_fini(void)
151
151
/*
152
152
* ExecutorStart hook: start up logging if needed
153
153
*/
154
- void
154
+ static void
155
155
explain_ExecutorStart (QueryDesc * queryDesc ,int eflags )
156
156
{
157
157
if (auto_explain_enabled ())
@@ -191,7 +191,7 @@ explain_ExecutorStart(QueryDesc *queryDesc, int eflags)
191
191
/*
192
192
* ExecutorRun hook: all we need do is track nesting depth
193
193
*/
194
- void
194
+ static void
195
195
explain_ExecutorRun (QueryDesc * queryDesc ,ScanDirection direction ,long count )
196
196
{
197
197
nesting_level ++ ;
@@ -214,7 +214,7 @@ explain_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, long count)
214
214
/*
215
215
* ExecutorEnd hook: log results if needed
216
216
*/
217
- void
217
+ static void
218
218
explain_ExecutorEnd (QueryDesc * queryDesc )
219
219
{
220
220
if (queryDesc -> totaltime && auto_explain_enabled ())