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

From Bruce Momjian
Subject Re: [HACKERS] subselect
Date
Msg-id 199801060506.AAA11991@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] subselect  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
>
> > BTW, note that for _expression_ subqueries (which are introduced without
> > IN, EXISTS, ALL, ANY - this follows Sybase' naming) - as in your examples -
> > we have to check that subquery returns single tuple...
>
> It might be nice to have a tuple-counting operation or query node (is this the right
> terminology?) which could be used to help implement EXISTS. It might help to
> re-implement the count(*) function also.

In the new code, count(*) picks a column from one of the tables to count
on.


--
Bruce Momjian
maillist@candle.pha.pa.us

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Postgres acl
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] I want to change libpq and libpgtcl for better handling of large query results