pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Denis Zaitsev <zzz@anda.ru>
To: pgsql-sql@postgresql.org
Subject: Re: Nonexistent NEW relation in some places of rules
Date: Thu, 31 Jul 2003 03:02:52 +0600
Message-ID: <20030731030252.A2700@natasha.ward.six> (raw)
References: <20030730033328.B4870@natasha.ward.six>
	<5035.1059517964@sss.pgh.pa.us>

On Tue, Jul 29, 2003 at 06:32:44PM -0400, Tom Lane wrote:
> The problem is that the rule gets expanded into something rather like
> 
> 	insert into a select ... from new, produce(new.b);
> 
> and we can't support that.  If we ever add support for SQL99's
> LATERAL(), it might help improve matters.

Thanks.  I was suspecting something like.  Does the presence of this
leak mean that such a selects are needed very rarely?  Or does it mean
that some well-known workaround exists?



view thread (3+ messages)

Message-ID: <20030731030252.A2700@natasha.ward.six>
Permalink:  ../20030731030252.A2700@natasha.ward.six/
Also on:    postgresql.org/message-id/20030731030252.A2700@natasha.ward.six

 · 

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-sql@postgresql.org
  Cc: zzz@anda.ru
  Subject: Re: Nonexistent NEW relation in some places of rules
  In-Reply-To: <20030731030252.A2700@natasha.ward.six>

* 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