From: Brad Nicholson <bnichols@ca.afilias.info>
To: pgsql-admin@postgresql.org
Subject: Re: change existing table definition
Date: Tue, 28 Jun 2005 11:28:08 -0400
Message-ID: <42C16C88.5060700@ca.afilias.info> (raw)
In-Reply-To: <42C1613F.4000605@musc.edu>
References: <42C15044.4030407@musc.edu>
<200506281614.25981.peter_e@gmx.net>
<42C1613F.4000605@musc.edu>
Chuming Chen wrote:
> Peter Eisentraut wrote:
>
>> Chuming Chen wrote:
>>
>>
>>> How can I change the column definition of an existing table, ie. from
>>> varchar(30) to varchar(50)? Is there any way to add a new column to
>>> an existing table?
>>>
>>
>>
>> The ALTER TABLE command can do all that. You need version 8.0 or
>> later for some functionality though.
>>
>>
>>
> Is there another way to do it in 7.* ?
>
http://www.postgresql.org/docs/faqs.FAQ.html#4.3> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
--
Brad Nicholson 416-673-4106
Database Administrator, Afilias Canada Corp.
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-admin@postgresql.org
Cc: bnichols@ca.afilias.info
Subject: Re: change existing table definition
In-Reply-To: <42C16C88.5060700@ca.afilias.info>
References: <42C15044.4030407@musc.edu> <200506281614.25981.peter_e@gmx.net> <42C1613F.4000605@musc.edu> <42C16C88.5060700@ca.afilias.info>
* 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