Re: 7.0 weirdness

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 7.0 weirdness
Дата
Msg-id 1967.959697899@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 7.0 weirdness  (Jeff MacDonald <jeff@pgsql.com>)
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Matthias Urlichs"
Дата:
Сообщение: Re: [HACKERS] Re: 7.0 weirdness
Следующее
От: mikeo
Дата:
Сообщение: Re: remove line type?