File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1414 *
1515 *
1616 * IDENTIFICATION
17- * $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.3 1996/11/08 05:56:01 momjian Exp $
17+ * $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.4 1996/12/07 04:37:06 momjian Exp $
1818 *
1919 *-------------------------------------------------------------------------
2020 */
129129#include "utils/lsyscache.h"
130130#include "storage/bufmgr.h"
131131#include "parser/catalog_utils.h"
132+ #include "catalog/pg_type.h"
132133
133134/* ----------------------------------------------------------------
134135 * tuple table create/delete functions
@@ -938,7 +939,7 @@ ExecTypeFromTL(List *targetList)
938939 TupleDescInitEntry (typeInfo ,
939940 resdom -> resno ,
940941 resdom -> resname ,
941- get_id_typname (restype ),
942+ get_id_typname (restype ? restype : UNKNOWNOID ),
942943 0 ,
943944 false);
944945
You can’t perform that action at this time.
0 commit comments