Re: [GENERAL] modify table type1

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: Marco Giardini <marco(at)tecnogi(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org, pgsql-novice(at)postgreSQL(dot)org
Subject: Re: [GENERAL] modify table type1
Date: 2000-02-15 12:04:07
Message-ID: Pine.GSO.4.02A.10002151303310.28210-100000@Krokodil.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Egge 2000-02-15 14:42:09
Previous Message John Henderson 2000-02-15 04:44:51 Re: [GENERAL] typecast for index