Re: Values list-of-targetlists patch for comments (was Re:

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Michael Glaesemann <grzm(at)seespotcode(dot)net>
Cc: Joe Conway <mail(at)joeconway(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Values list-of-targetlists patch for comments (was Re:
Date: 2006-08-02 13:30:29
Message-ID: 200608021330.k72DUTp09254@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers pgsql-patches

Michael Glaesemann wrote:
> On Aug 2, 2006, at 12:47 , Joe Conway wrote:
>
>
> > regression=# create rule r2 as on update to src do insert into log
> > values(old.*, 'old'), (new.*, 'new');
> > ERROR: VALUES must not contain OLD or NEW references
> >
>
> Would it make sense to add a HINT as well, recommending the UNION
> construct Tom mentioned earlier?

Agreed.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2006-08-02 13:43:01 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Bruce Momjian 2006-08-02 13:30:11 Re: Values list-of-targetlists patch for comments (was Re:

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-02 13:43:01 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Bruce Momjian 2006-08-02 13:30:11 Re: Values list-of-targetlists patch for comments (was Re:

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-08-02 13:43:01 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Bruce Momjian 2006-08-02 13:30:11 Re: Values list-of-targetlists patch for comments (was Re: