From: | Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add support for SRF and returning composites to pl/tcl |
Date: | 2016-11-10 00:41:40 |
Message-ID: | d2c6425a-d9e0-f034-f774-4a872c234d89@BlueTreble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
tcl_trigger.patch | text/plain | 6.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2016-11-10 00:54:34 | Re: Parallel tuplesort (for parallel B-Tree index creation) |
Previous Message | Craig Ringer | 2016-11-10 00:26:37 | Re: Fwd: Re: [CORE] temporal tables (SQL2011) |