From: Tom Lane <tgl@sss.pgh.pa.us>
To: jens@jens.de
Cc: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Outer Joins, Foreign keys, subselects
Date: Sat, 31 Jul 1999 11:58:30 -0400
Message-ID: <13522.933436710@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.05.9907311354520.675-100000@helena.jens.de>
Jens Glaser <jens@helena.jens.de> writes:
>> We have subselects, and plan to add outer joins and foreign keys in 6.6.
> well, but AFAIK not of the form e.g.
> select blabla from (select * from asdasd ..) t1,
> (select * from bsdfsd ..) t2, where t1.pkey=t2.pkey
> ..
> (subselects in the target list). SCR!
Actually, Jan is saying that that's exactly what he needs to make rules
work Really Right. If we add subselect RTEs for the rule rewriter,
I see no reason that we couldn't provide them for direct use too.
Might not happen for 6.6, but maybe the version after.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, jens@jens.de, maillist@candle.pha.pa.us
Subject: Re: [SQL] Outer Joins, Foreign keys, subselects
In-Reply-To: <13522.933436710@sss.pgh.pa.us>
References: <Pine.LNX.4.05.9907311354520.675-100000@helena.jens.de> <13522.933436710@sss.pgh.pa.us>
* 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