Re: Custom column ordering

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Re: Custom column ordering
Дата
Msg-id CAE2gYzzoDo4jT0ioQYepcwdxOJoUe5xP7-wK5uYEYSWnBRNr_A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Custom column ordering  (Steven Xu <stevenx@yorku.ca>)
Ответы Re: Custom column ordering  (Steven Xu <stevenx@yorku.ca>)
Список pgsql-general
> Although, I do find your output very strange. You wrote ORDER BY port, which
> is a text type. Why does Postgres order using the ordering operators of the
> "Port" data type rather than the "text" type, even though you haven't
> performed a cast?

That is an editing mistake.  I mean

> hasegeli=# SELECT port FROM device_port ORDER BY cast_to_port(port);


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

Предыдущее
От: "David Bennett"
Дата:
Сообщение: Re: Does a call to a language handler provide a context/session, and somewhere to keep session data?
Следующее
От: Geoff Winkless
Дата:
Сообщение: Re: index problems (again)