Re: Inet type how to?

From: Olivier PRENANT <ohp(at)pyrenet(dot)fr>
To: Alex Pilosov <alex(at)pilosoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)cor
Subject: Re: Inet type how to?
Date: 2000-06-02 17:48:49
Message-ID: Pine.UW2.4.21.0006021947130.23282-100000@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Yes, I know that; but even when I reload it, copy complains it can't
convert 194.250.190.185 ( for example) to inet!

Regards
On Fri, 2 Jun 2000, Alex Pilosov wrote:

> You cannot change column type without dropping/recreating the table.
>
> On Fri, 2 Jun 2000, Olivier PRENANT wrote:
>
> > 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(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2000-06-02 19:13:52 Re: 7.0.1 is ready
Previous Message Alex Pilosov 2000-06-02 17:41:54 Re: Inet type how to?