From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] UNION not allowed in sub-selects? |
Date: | 1999-11-30 03:54:37 |
Message-ID: | 199911300354.WAA26499@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
This is already on TODO list.
> In 6.5.3, it seems that UNION is not allowed inside a sub-select:
>
> bray=> select p.id, p.name, a.town from person* as p, address as a
> bray=> where p.id in
> bray-> (select id from customer union select id from supplier);
> ERROR: parser: parse error at or near "union"
>
> The same applies to EXCEPT and INTERSECT.
>
> Is this a permanent feature, an oversight, or something already on the TODO
> list?
>
>
> --
> Vote against SPAM: http://www.politik-digital.de/spam/
> ========================================
> Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
> Isle of Wight http://www.lfix.co.uk/oliver
> PGP key from public servers; key ID 32B8FAA1
> ========================================
> "The earth is the LORD'S, and the fullness thereof; the
> world, and they that dwell therein." Psalms 24:1
>
>
>
> ************
>
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-11-30 03:59:16 | Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions |
Previous Message | Michael Robinson | 1999-11-30 03:44:58 | Re: [HACKERS] Re: [GENERAL] drop/rename table and transactions |