From: Rainer Mager <rmager@vgkk.com>
To: pgsql-admin@postgresql.org
Subject: is this a bug in PG 7?
Date: Tue, 24 Oct 2000 13:19:30 +0900
Message-ID: <39F50DD2.11286367@vgkk.com> (raw)
References: <200005311309.JAA28541@candle.pha.pa.us>
<39350FEA.E1133121@ext.cri74.org>
In PG 7.0.2, I have a select:
SELECT pr_category_id, pr_category_id FROM pr_category
UNION SELECT pr_category_id, parent_cat FROM pr_category WHERE parent_cat
<> 0
UNION SELECT pr_category_id, parent_cat_link FROM pr_category_link
when I run this I get a subset of the correct results. If I move the first
select to the end as in:
SELECT pr_category_id, parent_cat FROM pr_category WHERE parent_cat <> 0
UNION SELECT pr_category_id, parent_cat_link FROM pr_category_link
UNION SELECT pr_category_id, pr_category_id FROM pr_category
then it works correctly.
Any ideas? Is this a bug?
Thanks,
--
\\\\\ /// Rainer Mager
\\\\\ ///
\\\VANGUARD Ever Green Bldg., 5F
\\\/// 3-3-2 Naka-Meguro, Meguro-ku, Tokyo 153-0061
\\// Phone: 5768-2855 Fax: 5768-2856
\/ Email: rmager@vgkk.co.jp Web: www.vgkk.co.jp
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: rmager@vgkk.com
Subject: Re: is this a bug in PG 7?
In-Reply-To: <39F50DD2.11286367@vgkk.com>
References: <200005311309.JAA28541@candle.pha.pa.us> <39350FEA.E1133121@ext.cri74.org> <39F50DD2.11286367@vgkk.com>
* 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