| 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: | 1967.959697899@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-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
results.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2000-05-30 14:57:53 | Re: Applying TOAST to CURRENT |
| Previous Message | Bruce Momjian | 2000-05-30 14:42:43 | Re: Applying TOAST to CURRENT |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | mikeo | 2000-05-30 15:35:04 | Re: [SQL] remove line type? |
| Previous Message | Matthias Urlichs | 2000-05-30 14:31:35 | Re: [HACKERS] Re: 7.0 weirdness |