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

From Joe Conway
Subject Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
Date
Msg-id 44D0205E.9060300@joeconway.com
Whole thread Raw
In response to Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
Re: Values list-of-targetlists patch for comments (was Re:
List pgsql-hackers
Bruce Momjian wrote:
> Should we wait for someone to actually ask for this before adding it
> to the TODO list?

Probably worth adding it to the TODO list so it doen't get lost.

> Does it cause a crash now?

Nope:

regression=# create table log(f1 int, f2 int, tag text);
CREATE TABLE
regression=# insert into src values(1,2);
INSERT 0 1
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

Joe


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: User-defined typle similar to char(length) varchar(length)
Next
From: Michael Fuhr
Date:
Subject: pg_dump dumping entire system catalogs