aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-09-20 21:07:57 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-09-20 21:07:57 +0000
commit272b914a45e6bf8d74613bcbbed1ecd92bf57ebc (patch)
tree8867c456093abbe34a8528d105abdc9bbca47223
parent14ac04710af50666cd04b3558663f4c0e4f3e1e6 (diff)
downloadpostgresql-272b914a45e6bf8d74613bcbbed1ecd92bf57ebc.tar.gz
postgresql-272b914a45e6bf8d74613bcbbed1ecd92bf57ebc.zip
Remove some dead code and obsolete, misleading comments.
-rw-r--r--src/include/executor/execdebug.h60
1 files changed, 1 insertions, 59 deletions
diff --git a/src/include/executor/execdebug.h b/src/include/executor/execdebug.h
index 67f6ca7b4cc..2ce7771b612 100644
--- a/src/include/executor/execdebug.h
+++ b/src/include/executor/execdebug.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: execdebug.h,v 1.15 2001/01/24 19:43:23 momjian Exp $
+ * $Id: execdebug.h,v 1.16 2001/09/20 21:07:57 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -28,14 +28,6 @@
*/
/* ----------------
- * EXEC_DEBUGSTORETUP is for tuple table debugging - this
- * will print a message every time we call ExecStoreTuple.
- * -cim 3/20/91
- * ----------------
-#undef EXEC_DEBUGSTORETUP
- */
-
-/* ----------------
* EXEC_TUPLECOUNT is a #define which causes the
* executor keep track of tuple counts. This might be
* causing some problems with the decstation stuff so
@@ -46,13 +38,6 @@
*/
/* ----------------
- * EXEC_SHOWBUFSTATS controls whether or not buffer statistics
- * are shown for each query. -cim 2/9/89
- * ----------------
-#undef EXEC_SHOWBUFSTATS
- */
-
-/* ----------------
* EXEC_CONTEXTDEBUG turns on the printing of debugging information
* by CXT_printf() calls regarding which memory context is the
* CurrentMemoryContext for palloc() calls.
@@ -61,25 +46,6 @@
*/
/* ----------------
- * EXEC_RETURNSIZE is a compile flag governing the
- * behaviour of lispFmgr.. See ExecMakeFunctionResult().
- * Undefining this avoids a problem in the system cache.
- *
- * Note: undefining this means that there is incorrect
- * information in the const nodes corresponding
- * to function (or operator) results. The thing is,
- * 99% of the time this is fine because when you do
- * something like x = emp.sal + 1, you already know
- * the type and size of x so the fact that + didn't
- * return the correct size doesn't matter.
- * With variable length stuff the size is stored in
- * the first few bytes of the data so again, it's
- * not likely to matter.
- * ----------------
-#undef EXEC_RETURNSIZE
- */
-
-/* ----------------
* EXEC_UTILSDEBUG is a flag which turns on debugging of the
* executor utilities by EU_printf() in eutils.c
* ----------------
@@ -128,30 +94,6 @@
#undef EXEC_MERGEJOINDEBUG
*/
-/* ----------------
- * EXEC_DEBUGINTERACTIVE is a flag which enables the
- * user to issue "DEBUG" commands from an interactive
- * backend.
- * ----------------
-#undef EXEC_DEBUGINTERACTIVE
- */
-
-/* ----------------
- * EXEC_DEBUGVARIABLEFILE is string, which if defined will
- * be loaded when the executor is initialized. If this
- * string is not defined then nothing will be loaded..
- *
- * Example:
- *
- * #define EXEC_DEBUGVARIABLEFILE "/a/postgres/cimarron/.pg_debugvars"
- #
- * Note: since these variables are read at execution time,
- * they can't affect the first query.. this hack should be
- * replaced by something better sometime. -cim 11/2/89
- * ----------------
-#undef EXEC_DEBUGVARIABLEFILE
- */
-
/* ----------------------------------------------------------------
* #defines controlled by above definitions
*