Re: Inet type how to?

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

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
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Olivier PRENANT 2000-06-02 17:48:49 Re: Inet type how to?
Previous Message The Hermit Hacker 2000-06-02 16:49:19 PostgreSQL v7.0.1 Released