Remove long-dead 'fix for SELECT NULL' to stop current coredump.
authorTom Lane
Thu, 21 Mar 2002 06:21:04 +0000 (06:21 +0000)
committerTom Lane
Thu, 21 Mar 2002 06:21:04 +0000 (06:21 +0000)
src/backend/executor/execTuples.c

index 6878907b9a506e2fe5fe05845b58b554b06fcca5..504876e738fff656f39a6bb6ace61f6918b6eee4 100644 (file)
@@ -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.51 2002/03/21 06:21:04 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);