Fix typmod exposed for scalar function in FROM, too.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jan 2020 19:02:46 +0000 (14:02 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jan 2020 19:02:55 +0000 (14:02 -0500)
commit915c04f091f13dbbc0fde833e612dc90b70103ce
tree5a1f1b828a4b2757b919fe64ba7abc0e20e692ef
parenta412f469880ede9f52336a7b383905129c2b03a0
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.
src/backend/parser/parse_relation.c