Inet type how to? - Mailing list pgsql-hackers

From Olivier PRENANT
Subject Inet type how to?
Date
Msg-id Pine.UW2.4.21.0006021824030.22607-100000@server.pyrenet.fr
Whole thread Raw
Responses Re: Inet type how to?  (Alex Pilosov <alex@pilosoft.com>)
List pgsql-hackers
Hi all,

I've had a table for years to keep radius connections to our NAS.

Not havin inet type, I typed ip_adress as text. Now, I'em trying to change
this column type to no avail.

select inet(ip_addr)... : cannot cast type to inet

How can I change this column??

TIA

-- 
Olivier PRENANT             Tel:    +33-5-61-50-97-00 (Work)
Quartier d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                      +33-6-07-63-80-64 (GSM)
FRANCE                      Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)



pgsql-hackers by date:

Previous
From: "Adam Walczykiewicz"
Date:
Subject: pg_recvbuf : unexpected EOF on client connection.
Next
From: Alex Pilosov
Date:
Subject: Re: Inet type how to?