summaryrefslogtreecommitdiff
path: root/src/backend/access/nbtree/nbtsort.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-08-25 21:34:10 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-08-25 21:34:10 +0000
commit7414d619507ed9e2cdb5113ff77df55feef786c4 (patch)
treec91d6dd40a3fd11daac412901c7c64b93a334e97 /src/backend/access/nbtree/nbtsort.c
parent51e8e187d1ca6963a5467890a7f8ebbf8b59f573 (diff)
downloadpostgresql-7414d619507ed9e2cdb5113ff77df55feef786c4.tar.gz
From: Massimo Dal Zotto <dz@cs.unitn.it>
> tprintf.patch > > tprintf.patch > > adds functions and macros which implement a conditional trace package > with the ability to change flags and numeric options of running > backends at runtime. > Options/flags can be specified in the command line and/or read from > the file pg_options in the data directory.
Diffstat (limited to 'src/backend/access/nbtree/nbtsort.c')
-rw-r--r--src/backend/access/nbtree/nbtsort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/nbtree/nbtsort.c b/src/backend/access/nbtree/nbtsort.c
index 12effb71eb..404653f8e9 100644
--- a/src/backend/access/nbtree/nbtsort.c
+++ b/src/backend/access/nbtree/nbtsort.c
@@ -5,7 +5,7 @@
*
*
* IDENTIFICATION
- * $Id: nbtsort.c,v 1.30 1998/06/15 19:27:59 momjian Exp $
+ * $Id: nbtsort.c,v 1.31 1998/08/25 21:33:57 scrappy Exp $
*
* NOTES
*
@@ -64,8 +64,8 @@
#ifdef BTREE_BUILD_STATS
#include "tcop/tcopprot.h"
-extern int ShowExecutorStats;
-
+#include <utils/trace.h>
+#define ShowExecutorStats pg_options[TRACE_EXECUTORSTATS]
#endif
static BTItem _bt_buildadd(Relation index, void *pstate, BTItem bti, int flags);