mirror of
https://github.com/postgres/postgres.git
synced 2025-09-05 02:22:28 +03:00
Pass attypmod through to executor by adding to Var and Resdom.
This commit is contained in:
@@ -430,7 +430,9 @@ SPI_getvalue(HeapTuple tuple, TupleDesc tupdesc, int fnumber)
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
return (fmgr(foutoid, val, gettypelem(tupdesc->attrs[fnumber - 1]->atttypid)));
|
||||
return (fmgr(foutoid, val,
|
||||
gettypelem(tupdesc->attrs[fnumber - 1]->atttypid),
|
||||
(int)tupdesc->attrs[fnumber - 1]->atttypmod));
|
||||
}
|
||||
|
||||
Datum
|
||||
|
Reference in New Issue
Block a user