mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Pass attypmod through to executor by adding to Var and Resdom.
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.15 1998/01/07 21:02:48 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.16 1998/02/10 04:00:50 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -986,7 +986,8 @@ ExecTypeFromTL(List *targetList)
|
||||
resdom->resno,
|
||||
resdom->resname,
|
||||
/* fix for SELECT NULL ... */
|
||||
typeidTypeName(restype ? restype : UNKNOWNOID),
|
||||
(restype ? restype : UNKNOWNOID),
|
||||
resdom->restypmod,
|
||||
0,
|
||||
false);
|
||||
|
||||
@ -1019,7 +1020,8 @@ ExecTypeFromTL(List *targetList)
|
||||
TupleDescInitEntry(typeInfo,
|
||||
fjRes->resno,
|
||||
fjRes->resname,
|
||||
typeidTypeName(restype),
|
||||
restype,
|
||||
fjRes->restypmod,
|
||||
0,
|
||||
false);
|
||||
/*
|
||||
@ -1042,7 +1044,8 @@ ExecTypeFromTL(List *targetList)
|
||||
TupleDescInitEntry(typeInfo,
|
||||
fjRes->resno,
|
||||
fjRes->resname,
|
||||
typeidTypeName(restype),
|
||||
restype,
|
||||
fjRes->restypmod,
|
||||
0,
|
||||
false);
|
||||
|
||||
|
Reference in New Issue
Block a user