| From: | Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: change existing table definition |
| Date: | 2005-06-28 15:28:08 |
| Message-ID: | 42C16C88.5060700@ca.afilias.info |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
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(at)postgresql(dot)org
--
Brad Nicholson 416-673-4106
Database Administrator, Afilias Canada Corp.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Martin Fandel | 2005-06-28 15:29:11 | Re: change existing table definition |
| Previous Message | Chris Browne | 2005-06-28 15:25:29 | Re: Poolin' it |