1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Fix for SELECT NULL.

This commit is contained in:
Bruce Momjian
1996-12-07 04:37:06 +00:00
parent c90c058bf0
commit 7f8b8b9e42

View File

@ -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 @@
#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)
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);