Re: type of a field

From: Dan Wilson <phppgadmin(at)acucore(dot)com>
To: ameen eetemadi <ameen78101(at)yahoo(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: type of a field
Date: 2002-05-07 15:20:34
Message-ID: 1020784834.3cd7f0c2945e5@webmail.acucore.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

You can't yet... at least not with an ALTER statement. The only way to
currenty do this is by dumping the table (through pg_dump), altering the type
of the field, and then re-ipmorting the table.

Rumor has it that they are working on an ALTER statement to accomplish this
for 7.3 or 7.4.

-Dan

Quoting ameen eetemadi <ameen78101(at)yahoo(dot)com>:

> I want to change the type of a field in postgres .
> How can I do it ?

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Scott Marlowe 2002-05-07 15:49:17 Re: type of a field
Previous Message Duncan Adams (DNS) 2002-05-07 15:09:27 Re: type of a field