Re: using xmin in a query?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: using xmin in a query?
Дата
Msg-id 7543.1311892602@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: using xmin in a query?  (Michael Nolan <htfoot@gmail.com>)
Ответы Re: using xmin in a query?
Список pgsql-general
Michael Nolan <htfoot@gmail.com> writes:
> It also appears you cannot group on a column of type xid.

You can in 8.4 and up.  Previous versions only know how to GROUP BY
sortable columns, which requires a btree opclass, which xid doesn't
have and really can't have because it doesn't have a linear ordering.
There is a hash opclass for it, though, so in versions that know how to
GROUP BY using hashing, it'll work.

> Would adding a <> operator enable that?

No, it's pretty irrelevant ...

            regards, tom lane

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

Предыдущее
От: Michael Nolan
Дата:
Сообщение: Re: using xmin in a query?
Следующее
От: Michael Nolan
Дата:
Сообщение: Re: using xmin in a query?