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

index 6878907b9a506e2fe5fe05845b58b554b06fcca5..6727cc48b0803cb27efde50aa9a8d4ff6a6b18b9 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.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);