Skip site navigation (1) Skip section navigation (2)

Re: subselects

From: "Vadim B(dot) Mikheev" <vadim(at)sable(dot)krasnoyarsk(dot)su>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <hackers(at)postgreSQL(dot)org>
Subject: Re: subselects
Date: 1998-01-19 06:37:41
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Bruce Momjian wrote:
> OK, I have added code to allow the SubLinks make it to the optimizer.
> I implemented ParseState->parentParseState, but not parentQuery, because
> the parentParseState is much more valuable to me, and Vadim thought it
> might be useful, but was not positive.  Also, keeping that parentQuery
> pointer valid through rewrite may be difficult, so I dropped it.
> ParseState is only valid in the parser.
> I have not done:
>         correlated subquery column references
>         added Var->sublevels_up
>         gotten this to work in the rewrite system
>         have not added full CopyNode support
> I will address these in the next few days.

Nice! I'm starting with non-correlated subqueries...


In response to

  • subselects at 1998-01-19 05:54:49 from Bruce Momjian


pgsql-hackers by date

Next:From: Jan WieckDate: 1998-01-19 11:12:11
Subject: Re: [HACKERS] *Major* Patch for PL
Previous:From: Bruce MomjianDate: 1998-01-19 05:54:49
Subject: subselects

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group