diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-02-10 04:02:59 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-02-10 04:02:59 +0000 |
commit | 2c482cdbf20854f75b36fdf15b9e68403473228f (patch) | |
tree | 573f7ff37c037e658675981e5b659e6171596f0d /src/backend/executor/execTuples.c | |
parent | 2535fcde2a8a56159ed90b0debc05cf3be06ac35 (diff) |
Pass attypmod through to executor by adding to Var and Resdom.
Diffstat (limited to 'src/backend/executor/execTuples.c')
-rw-r--r-- | src/backend/executor/execTuples.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c index e8787efd6ce..5f2336ce19d 100644 --- a/src/backend/executor/execTuples.c +++ b/src/backend/executor/execTuples.c @@ -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); |