Re: [GENERAL] modify table type1 - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: [GENERAL] modify table type1
Date
Msg-id Pine.GSO.4.02A.10002151303310.28210-100000@Krokodil.DoCS.UU.SE
Whole thread Raw
In response to modify table type1  (Marco Giardini <marco@tecnogi.com>)
List pgsql-general
On Mon, 14 Feb 2000, Marco Giardini wrote:

>  i have created a table
> +---------------+-------+---------+
> | ref           | int4  | 4       |
> |family         | text  | var     |
> |typ            | text  | var     |
> +---------------+-------+---------+
>
> Now i have the necessity to modify typ from text to int4.
> Is it possible? how?

No, you have to recreate the table.


--
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-general by date:

Previous
From: "John Henderson"
Date:
Subject: Re: [GENERAL] typecast for index
Next
From: Thomas Egge
Date:
Subject: ...