From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff MacDonald <jeff@pgsql.com>
Cc: omid omoomi <oomoomi@hotmail.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: 7.0 weirdness
Date: Tue, 30 May 2000 10:44:59 -0400
Message-ID: <1967.959697899@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSF.4.21.0005301109520.2897-100000@rage.hub.org>
References: <Pine.BSF.4.21.0005301109520.2897-100000@rage.hub.org>
Jeff MacDonald <jeff@pgsql.com> writes:
> gid is unique.. it's a serial..
Mph. If you assume that gid is unique then the query would give
well-defined results, but if you know it's unique then why don't
you just leave off the DISTINCT?
> funny thing is tho this worked on 6.5
No, 6.5 merely failed to notice that it was giving you undefined
results.
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 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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, jeff@pgsql.com, oomoomi@hotmail.com, pgsql-hackers@postgresql.org
Subject: Re: 7.0 weirdness
In-Reply-To: <1967.959697899@sss.pgh.pa.us>
References: <Pine.BSF.4.21.0005301109520.2897-100000@rage.hub.org> <1967.959697899@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