Support domains over composite types in PL/Tcl.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 820c0305f64507490f00b6220f9175a303c821dd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-10-26T20:00:17Z
Releases: 11.0
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

Files

PathChange+/−
src/pl/tcl/expected/pltcl_queries.out modified +94 −0
src/pl/tcl/pltcl.c modified +56 −26
src/pl/tcl/sql/pltcl_queries.sql modified +43 −0

Discussion