pgsql: Allow CALL with polymorphic type arguments

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow CALL with polymorphic type arguments
Date: 2018-07-06 20:50:07
Message-ID: E1fbXg7-0000N6-Tq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow CALL with polymorphic type arguments

In order to be able to resolve polymorphic types, we need to set fn_expr
before invoking the procedure.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e34ec136201df07a05a83825ebff7fffb9043598

Modified Files
--------------
src/backend/commands/functioncmds.c | 1 +
src/test/regress/expected/create_procedure.out | 7 +++++++
src/test/regress/sql/create_procedure.sql | 11 +++++++++++
3 files changed, 19 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-07-06 21:38:26 pgsql: Fix assert in nested SQL procedure call
Previous Message Alvaro Herrera 2018-07-06 20:40:04 pgsql: Allow replication slots to be dropped in single-user mode