Skip site navigation (1) Skip section navigation (2)

Re: 7.0 weirdness

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff MacDonald <jeff(at)pgsql(dot)com>
Cc: omid omoomi <oomoomi(at)hotmail(dot)com>, pgsql-sql(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.0 weirdness
Date: 2000-05-30 14:44:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-sql
Jeff MacDonald <jeff(at)pgsql(dot)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

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-05-30 14:57:53
Subject: Re: Applying TOAST to CURRENT
Previous:From: Bruce MomjianDate: 2000-05-30 14:42:43
Subject: Re: Applying TOAST to CURRENT

pgsql-sql by date

Next:From: mikeoDate: 2000-05-30 15:35:04
Subject: Re: [SQL] remove line type?
Previous:From: Matthias UrlichsDate: 2000-05-30 14:31:35
Subject: Re: [HACKERS] Re: 7.0 weirdness

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group