Re: [GENERAL] order by

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] order by
Дата
Msg-id 199806111731.NAA16571@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] order by  (dave madden <dhm@paradigm.webvision.com>)
Список pgsql-general
>
> There may be a special function (or you could write one) to sort
> numbers which are represented as varchars, but a better solution would
> be to re-store the IP numbers as integers.  This will also allow you
> to work on them with netmasks and so forth.  Convert them back to
> A.B.C.D when you print them out.
>

See contrib/ip_and_mac.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: dave madden
Дата:
Сообщение: Re: [GENERAL] order by
Следующее
От: Byron Nikolaidis
Дата:
Сообщение: Re: [GENERAL] PostgreSQL/ODBC/WinNT?