File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 14
14
*
15
15
*
16
16
* 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 $
18
18
*
19
19
*-------------------------------------------------------------------------
20
20
*/
129
129
#include "utils/lsyscache.h"
130
130
#include "storage/bufmgr.h"
131
131
#include "parser/catalog_utils.h"
132
+ #include "catalog/pg_type.h"
132
133
133
134
/* ----------------------------------------------------------------
134
135
* tuple table create/delete functions
@@ -938,7 +939,7 @@ ExecTypeFromTL(List *targetList)
938
939
TupleDescInitEntry (typeInfo ,
939
940
resdom -> resno ,
940
941
resdom -> resname ,
941
- get_id_typname (restype ),
942
+ get_id_typname (restype ? restype : UNKNOWNOID ),
942
943
0 ,
943
944
false);
944
945
You can’t perform that action at this time.
0 commit comments