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

From Bruce Momjian
Subject Re: Values list-of-targetlists patch for comments (was Re:
Date
Msg-id 200608021330.k72DUTp09254@momjian.us
Whole thread Raw
In response to Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]  (Michael Glaesemann <grzm@seespotcode.net>)
Responses Re: Values list-of-targetlists patch for comments (was Re:
List pgsql-hackers
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@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Values list-of-targetlists patch for comments (was Re:
Next
From: Michael Meskes
Date:
Subject: ecpg test suite