Re: Add support for SRF and returning composites to pl/tcl - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Add support for SRF and returning composites to pl/tcl
Date
Msg-id d2c6425a-d9e0-f034-f774-4a872c234d89@BlueTreble.com
Whole thread Raw
In response to Re: Add support for SRF and returning composites to pl/tcl  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Add support for SRF and returning composites to pl/tcl
List pgsql-hackers
On 11/8/16 8:33 AM, Tom Lane wrote:
> As things stand in HEAD, the behavior is about the same, but the error
> messages are not --- in one case they mention triggers and of course the
> other doesn't.  There are a couple of other minor things in the way of
> unifying the two hunks of code, so I concluded it probably wasn't worth
> the trouble.  But feel free to take another look if it bugs you.

I had to add a bit of cruft to pltcl_build_tuple_result but it's not
that bad. tg_tupdesc could potentially be eliminated, but I don't know
if it's really worth it.

Note that this does change some of the trigger error messages, but I
don't think that's really an issue?
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461

Attachment

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Fwd: Re: [CORE] temporal tables (SQL2011)
Next
From: Peter Geoghegan
Date:
Subject: Re: Parallel tuplesort (for parallel B-Tree index creation)