Re: [HACKERS] subselect - Mailing list pgsql-hackers

From Goran Thyni
Subject Re: [HACKERS] subselect
Date
Msg-id b310fe54ad6be5fc5df5343f449e6d57
Whole thread Raw
List pgsql-hackers
Vadim,

   Unfortunately, not all subqueries can be handled by "normal" joins: NOT IN
   is one example of this - joining by <> will give us invalid results.

What is you approach towards this problem?
I got an idea that one could reverse the order,
that is execute the outer first into a temptable
and delete from that according to the result of the
subquery and then return it.
Probably this is too raw and slow. ;-)

   Personally, I was stuck by holydays -:)
   Now I can spend ~ 8 hours ~ each day for development...

Oh, isn't it christmas eve right now in Russia?

    best regards,
- --
- ---------------------------------------------
Göran Thyni, sysadm, JMS Bildbasen, Kiruna

------------------------------

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Error messages/logging (Was: Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/parser gram.y parse_oper.c')
Next
From: Bruce Momjian
Date:
Subject: Re: consttraints.source