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

From Craig Ringer
Subject Re: [HACKERS] delta relations in AFTER triggers
Date
Msg-id CAMsr+YGVbC2_ThxSG5LduE6x+EVUkEba_exSyDSRZKqhbFao2A@mail.gmail.com
Whole thread Raw
In response to Re: delta relations in AFTER triggers  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers


On 22 Nov. 2016 03:01, "Thomas Munro" <thomas.munro@enterprisedb.com> wrote:

 How about a QueryEnvironment (as shown in the
patch I posted) that contains a list of NamedTuplestore pointers (the
SpiRelation struct in the patch I posted, renamed) and in future
perhaps lists of other ephemeral/transient objects that we want to
expose to SQL? 

Very good idea. Sooner or later someone will probably want query-scoped variables like MS-SQL and MySQL for example.

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [HACKERS] delta relations in AFTER triggers
Next
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Logical Replication WIP