diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-04-07 18:46:12 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-04-07 18:46:12 +0000 |
commit | 0bb21d391c2f4853a9292d3e49a872a43e769629 (patch) | |
tree | f6d83204c0f70c7fda5f029b78c9abb099aa14f6 /src | |
parent | 75688a27d26bd2c38df84471e2815178a99963e4 (diff) | |
download | postgresql-0bb21d391c2f4853a9292d3e49a872a43e769629.tar.gz postgresql-0bb21d391c2f4853a9292d3e49a872a43e769629.zip |
Still another place to make the world safe for zero-column tables.
Per example from Jiang Wei.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/executor/execJunk.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/executor/execJunk.c b/src/backend/executor/execJunk.c index e970086d522..0411e2e553d 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. * |