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

From: Joe Conway <mail(at)joeconway(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: 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: [PATCHES]
Date: 2006-08-02 03:47:42
Message-ID: 44D0205E.9060300@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Joe Conway 2006-08-02 05:26:53 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Bruce Momjian 2006-08-02 03:14:37 Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Fuhr 2006-08-02 04:59:49 pg_dump dumping entire system catalogs
Previous Message Tom Lane 2006-08-02 03:26:59 Re: User-defined typle similar to char(length) varchar(length)

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2006-08-02 05:26:53 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Bruce Momjian 2006-08-02 03:14:37 Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]