Re: delta relations in AFTER triggers
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <kgrittn@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>,
Haribabu Kommi <kommi.haribabu@gmail.com>,
Jim Nasby <Jim.Nasby@bluetreble.com>,
Craig Ringer <craig@2ndquadrant.com>,
Michael Paquier <michael.paquier@gmail.com>,
Robert Haas <robertmhaas@gmail.com>, David Fetter <david@fetter.org>,
Kevin Grittner <kgrittn@ymail.com>,
Amit Khandekar <amit.khandekar@enterprisedb.com>,
Alvaro Herrera <alvherre@2ndquadrant.com>,
Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-03-31T17:50:49Z
Lists: pgsql-hackers
Kevin Grittner <kgrittn@gmail.com> writes: > On Thu, Mar 23, 2017 at 7:14 PM, Thomas Munro > <thomas.munro@enterprisedb.com> wrote: >> my only other comment would be a bikeshed issue: >> Enr isn't a great name for a struct. > I know, but EphemeralNamedRelation starts to get kinda long, > especially when making the normal sorts of concatenations. I > started making the change and balked when I saw things like > EphemeralNamedRelationMetadataData and a function named > EphemeralNamedRelationMetadataGetTupDesc() in place of > EnrmdGetTupDesc(). A 40 character function name make for a lot of > line-wrapping to stay within pgindent limits. Any suggestions? I would vote for calling the struct typedef EphemeralNamedRelation and using the abbreviation ENR (capitalized that way, not as Enr) in related function names, where that seemed sensible. I really do *not* like "Enr" as a global name. regards, tom lane
Commits
-
Don't permit transition tables with TRUNCATE triggers.
- 29fd3d9da0ff 10.0 landed
-
Pass EXEC_FLAG_REWIND when initializing a tuplestore scan.
- 304007d9f1f6 10.0 landed
-
Faster expression evaluation and targetlist projection.
- b8d7f053c5c2 10.0 cited
-
Remove obsoleted code relating to targetlist SRF evaluation.
- ea15e18677fc 10.0 cited
-
Implement syntax for transition tables in AFTER triggers.
- 8c48375e5f43 10.0 cited