Re: delta relations in AFTER triggers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: delta relations in AFTER triggers
Date
Msg-id 12664.1409594984@sss.pgh.pa.us
Whole thread Raw
In response to Re: delta relations in AFTER triggers  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: delta relations in AFTER triggers  (Marti Raudsepp <marti@juffo.org>)
Re: delta relations in AFTER triggers  (Kevin Grittner <kgrittn@ymail.com>)
List pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> On 08/30/2014 12:15 AM, Kevin Grittner wrote:
>> If we were to go with the hooks as you propose, we would still need
>> to take the information from TriggerData and put it somewhere else
>> for the hook to reference.

> Sure.

FWIW, I agree with Heikki on this point.  It makes a lot more sense for
the parser to provide hooks comparable to the existing hooks for resolving
column refs, and it's not apparent that loading such functionality into
SPI is sane at all.

OTOH, I agree with Kevin that the things we're talking about are
lightweight relations not variables.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch for psql History Display on MacOSX
Next
From: Alexey Klyukin
Date:
Subject: Re: implement subject alternative names support for SSL connections