Re: [PATCHES] Proposed patch for rules with RETURNING

2006-09-01 Thread Tom Lane
"Jonah H. Harris" <[EMAIL PROTECTED]> writes: > On 9/1/06, Tom Lane <[EMAIL PROTECTED]> wrote: >> Attached is a draft patch that makes rules support RETURNING ... > What format is that patch in? Either something's wrong or Gmail just > went really wacko. It's just a gzip'd patch diff.

Re: [PATCHES] Proposed patch for rules with RETURNING

2006-09-01 Thread Bruce Momjian
Jonah H. Harris wrote: > On 9/1/06, Tom Lane <[EMAIL PROTECTED]> wrote: > > Attached is a draft patch that makes rules support RETURNING ... > > What format is that patch in? Either something's wrong or Gmail just > went really wacko. I see the attachment fine. -- Bruce Momjian [EMAIL PROT

Re: [PATCHES] Proposed patch for rules with RETURNING

2006-09-01 Thread Jonah H. Harris
On 9/1/06, Tom Lane <[EMAIL PROTECTED]> wrote: Attached is a draft patch that makes rules support RETURNING ... What format is that patch in? Either something's wrong or Gmail just went really wacko. -- Jonah H. Harris, Software Architect | phone: 732.331.1300 EnterpriseDB Corporation

[PATCHES] Proposed patch for rules with RETURNING

2006-09-01 Thread Tom Lane
Attached is a draft patch that makes rules support RETURNING as per my proposal of earlier today, ie, have the rewriter automatically adjust a RETURNING clause present in an unconditional INSTEAD rule. The core of the patch is barely twenty lines (the code added to rewriteRuleAction) --- the rest