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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix typmod exposed for scalar function in FROM, too.
Date: 2020-01-02 19:03:05
Message-ID: E1in5kP-0004eS-9d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-01-02 20:02:29 pgsql: Add basic TAP tests for psql's tab-completion logic.
Previous Message Peter Geoghegan 2020-01-02 18:57:38 pgsql: Reorder two nbtree.h function prototypes.