Received: from smtp3.jp.psi.net (smtp3.jp.psi.net [154.33.63.113]) by hub.org (8.10.1/8.11.0) with ESMTP id e9O4JvO13855 for ; Tue, 24 Oct 2000 00:19:57 -0400 (EDT) (envelope-from rmager@vgkk.com) Received: from [211.120.7.246] (helo=vgkk.com) by smtp3.jp.psi.net with esmtp (Exim 3.12 #1) id 13nvYz-0002hX-00 for pgsql-admin@postgresql.org; Tue, 24 Oct 2000 13:19:50 +0900 Message-ID: <39F50DD2.11286367@vgkk.com> Date: Tue, 24 Oct 2000 13:19:30 +0900 From: Rainer Mager X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test9 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: is this a bug in PG 7? References: <200005311309.JAA28541@candle.pha.pa.us> <39350FEA.E1133121@ext.cri74.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200010/99 X-Sequence-Number: 893 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