| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | dhm(at)paradigm(dot)webvision(dot)com (dave madden) |
| Cc: | milang(at)tal(dot)org, pgsql-general(at)postgreSQL(dot)org |
| Subject: | Re: [GENERAL] order by |
| Date: | 1998-06-11 17:31:57 |
| Message-ID: | 199806111731.NAA16571@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)candle(dot)pha(dot)pa(dot)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)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jackson, DeJuan | 1998-06-11 18:57:43 | RE: [GENERAL] Sequences : getting back the nextval() result on an insert |
| Previous Message | Byron Nikolaidis | 1998-06-11 17:25:27 | Re: [GENERAL] PostgreSQL/ODBC/WinNT? |