aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-04-07 18:46:20 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-04-07 18:46:20 +0000
commitd9bbf47aaa4f3b8b9a3b08158bfe045c3d4b9be3 (patch)
tree5ab531e22de4c7c9d02fa6f491666794aaabba98 /src/backend
parent2fde46613503cb72cf2937835d8d078b16e24a16 (diff)
downloadpostgresql-d9bbf47aaa4f3b8b9a3b08158bfe045c3d4b9be3.tar.gz
postgresql-d9bbf47aaa4f3b8b9a3b08158bfe045c3d4b9be3.zip
Still another place to make the world safe for zero-column tables.
Per example from Jiang Wei.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/executor/execJunk.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/executor/execJunk.c b/src/backend/executor/execJunk.c
index 654fc7811a8..e521bb8903e 100644
--- a/src/backend/executor/execJunk.c
+++ b/src/backend/executor/execJunk.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/execJunk.c,v 1.36 2003/08/11 20:46:46 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/execJunk.c,v 1.36.4.1 2004/04/07 18:46:20 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -264,12 +264,6 @@ ExecRemoveJunk(JunkFilter *junkfilter, TupleTableSlot *slot)
cleanMap = junkfilter->jf_cleanMap;
/*
- * Handle the trivial case first.
- */
- if (cleanLength == 0)
- return (HeapTuple) NULL;
-
- /*
* Create the arrays that will hold the attribute values and the null
* information for the new "clean" tuple.
*