From 0bb21d391c2f4853a9292d3e49a872a43e769629 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 7 Apr 2004 18:46:12 +0000 Subject: [PATCH] Still another place to make the world safe for zero-column tables. Per example from Jiang Wei. --- src/backend/executor/execJunk.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/backend/executor/execJunk.c b/src/backend/executor/execJunk.c index e970086d52..0411e2e553 100644 --- a/src/backend/executor/execJunk.c +++ b/src/backend/executor/execJunk.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/execJunk.c,v 1.38 2004/01/07 18:56:26 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/executor/execJunk.c,v 1.39 2004/04/07 18:46:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -264,12 +264,6 @@ ExecRemoveJunk(JunkFilter *junkfilter, TupleTableSlot *slot) cleanMap = junkfilter->jf_cleanMap; /* - * Handle the trivial case first. - */ - if (cleanLength == 0) - return NULL; - - /* * Create the arrays that will hold the attribute values and the null * information for the new "clean" tuple. * -- 2.11.0