pgsql: Support domains over composite types in PL/Tcl.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Support domains over composite types in PL/Tcl.
Date: 2017-10-26 20:00:22
Message-ID: E1e7oKE-0004o5-9u@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Support domains over composite types in PL/Tcl.

Since PL/Tcl does little with SQL types internally, this is just a
matter of making it work with composite-domain function arguments
and results.

In passing, make it allow RECORD-type arguments --- that's a trivial
change that nobody had bothered with up to now.

Discussion: https://postgr.es/m/4206.1499798337@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/820c0305f64507490f00b6220f9175a303c821dd

Modified Files
--------------
src/pl/tcl/expected/pltcl_queries.out | 94 +++++++++++++++++++++++++++++++++++
src/pl/tcl/pltcl.c | 82 ++++++++++++++++++++----------
src/pl/tcl/sql/pltcl_queries.sql | 43 ++++++++++++++++
3 files changed, 193 insertions(+), 26 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-10-27 14:12:38 pgsql: Fix mistaken failure to allow parallelism in corner case.
Previous Message Tom Lane 2017-10-26 17:47:51 pgsql: Support domains over composite types.