Re: adding fields
От | Florian Helmberger |
---|---|
Тема | Re: adding fields |
Дата | |
Msg-id | OPEOLKEAAIMGBAMJNACKAEGMDHAA.f.helmberger@uptime.at обсуждение исходный текст |
Ответ на | adding fields (Jodi Kanter <jkanter@virginia.edu>) |
Список | pgsql-admin |
Hi.
You should use
ALTER TABLE <table> ADD COLUMN <column> <datatyp>;
instead. Also, take a look at the docs:
Cheers,
Florian
-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Jodi Kanter
Sent: Friday, January 18, 2002 3:56 PM
To: Postgres Admin List
Subject: [ADMIN] adding fieldsI need to add a field to an existing table that contains a good amount of data. Do I need to drop table, recreate, and then reload data to do this? I cannot seem to find any documentation to say otherwise.ThanksJodi_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu
В списке pgsql-admin по дате отправления: