Commit 7f8b8b9e authored by Bruce Momjian's avatar Bruce Momjian

Fix for SELECT NULL.

parent c90c058b
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.3 1996/11/08 05:56:01 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.4 1996/12/07 04:37:06 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
#include "utils/lsyscache.h" #include "utils/lsyscache.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "parser/catalog_utils.h" #include "parser/catalog_utils.h"
#include "catalog/pg_type.h"
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* tuple table create/delete functions * tuple table create/delete functions
...@@ -938,7 +939,7 @@ ExecTypeFromTL(List *targetList) ...@@ -938,7 +939,7 @@ ExecTypeFromTL(List *targetList)
TupleDescInitEntry(typeInfo, TupleDescInitEntry(typeInfo,
resdom->resno, resdom->resno,
resdom->resname, resdom->resname,
get_id_typname(restype), get_id_typname(restype?restype:UNKNOWNOID),
0, 0,
false); false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment