From: Dan Wilson <phppgadmin@acucore.com>
To: ameen eetemadi <ameen78101@yahoo.com>
Cc: pgsql-php@postgresql.org
Subject: Re: type of a field
Date: Tue, 7 May 2002 09:20:34 -0600
Message-ID: <1020784834.3cd7f0c2945e5@webmail.acucore.com> (raw)
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@yahoo.com>:
> I want to change the type of a field in postgres .
> How can I do it ?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: phppgadmin@acucore.com, ameen78101@yahoo.com
Subject: Re: type of a field
In-Reply-To: <1020784834.3cd7f0c2945e5@webmail.acucore.com>
References: <1020784834.3cd7f0c2945e5@webmail.acucore.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox