pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hackers (PostgreSQL) <pgsql-hackers@postgresql.org>
Subject: Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
Date: Tue, 01 Aug 2006 20:47:42 -0700
Message-ID: <44D0205E.9060300@joeconway.com> (raw)
In-Reply-To: <200608020314.k723EbQ01079@momjian.us>
References: <200608020314.k723EbQ01079@momjian.us>

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



view thread (61+ messages)  latest in thread

Message-ID: <44D0205E.9060300@joeconway.com>
Permalink:  ../44D0205E.9060300@joeconway.com/
Also on:    postgresql.org/message-id/44D0205E.9060300@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: mail@joeconway.com, bruce@momjian.us, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: Values list-of-targetlists patch for comments (was Re: [PATCHES]
  In-Reply-To: <44D0205E.9060300@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox