summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-03-21 06:21:14 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-03-21 06:21:14 +0000
commitb2d05d58eb58a81bd7ba81e3d18755b354cd5655 (patch)
tree15d98782e8f66873ccfd5aa46e96bb328df2477d /src
parent94a4677a758ea53ddbc37c81738e9ecd787b4d42 (diff)
Remove long-dead 'fix for SELECT NULL' to stop current coredump.
Diffstat (limited to 'src')
-rw-r--r--src/backend/executor/execTuples.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c
index 6878907b9a5..6727cc48b08 100644
--- a/src/backend/executor/execTuples.c
+++ b/src/backend/executor/execTuples.c
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.50 2001/10/28 06:25:43 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.50.2.1 2002/03/21 06:21:14 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -593,8 +593,7 @@ ExecTypeFromTL(List *targetList)
TupleDescInitEntry(typeInfo,
resdom->resno,
resdom->resname,
- /* fix for SELECT NULL ... */
- (restype ? restype : UNKNOWNOID),
+ restype,
resdom->restypmod,
0,
false);