From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gary Stainburn <gary.stainburn@ringways.co.uk>
Cc: pgsql-sql@postgresql.org
Subject: Re: union in subselect?
Date: Tue, 31 Jul 2001 11:16:43 -0400
Message-ID: <10905.996592603@sss.pgh.pa.us> (raw)
In-Reply-To: <01073115421207.11590@gary.ringways.co.uk>
References: <01073115421207.11590@gary.ringways.co.uk>
Gary Stainburn <gary.stainburn@ringways.co.uk> writes:
> select * from actions where cposn in (select posn from positions where pholder
> = 81 union select 'NEC' as posn from members where mnec = true and mid = 81);
> gives me:
> ERROR: parser: parse error at or near "union"
Update to PG 7.1.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, gary.stainburn@ringways.co.uk
Subject: Re: union in subselect?
In-Reply-To: <10905.996592603@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