pgsql: Fix typmod exposed for scalar function in FROM, too.

Tom Lane <[email protected]> Thu, 02 Jan 2020 19:03:05 +0000
Newsgroups gmane.comp.db.postgresql.devel.cvs
Message-ID <[email protected]>
Fix typmod exposed for scalar function in FROM, too.

On further reflection about commit 4d02eb017, it occurs to me that
expandRTE() had better agree with what addRangeTableEntryForFunction()
is doing.  So teach that about functions possibly having typmods, too.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/915c04f091f13dbbc0fde833e612dc90b70103ce

Modified Files
--------------
src/backend/parser/parse_relation.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)