Re: insert/update/delete returning and rules

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: insert/update/delete returning and rules
Date: 2006-08-29 12:17:42
Message-ID: c2d9e70e0608290517n41951e7bq9bce2a621ff0fa77@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/15/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I'm tempted to suggest that the RETURNING commands might need to be
> separate rule events, and that to support this you'd need to write
> an additional rule:
>
> CREATE RULE r1 AS ON INSERT RETURNING TO myview DO INSTEAD
> INSERT ... RETURNING ...

This is something for 8.3?

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2006-08-29 12:26:22 Re: [PATCHES] Another VPATH patch for ecpg
Previous Message Guillaume Smet 2006-08-29 11:54:15 Re: [HACKERS] [PATCHES] log_statement output for protocol