Re: When the locially dropped column is also physically dropped

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: When the locially dropped column is also physically dropped
Дата
Msg-id 87lkgejbi9.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на When the locially dropped column is also physically dropped  ("rupesh bajaj" <rupesh.bajaj@gmail.com>)
Ответы Re: When the locially dropped column is also physically dropped  (Jim Nasby <decibel@decibel.org>)
Список pgsql-hackers
"rupesh bajaj" <rupesh.bajaj@gmail.com> writes:

> Hi,
> I have dropped a column (say column name is 'A') from the relation R. By
> setting the attisdropped as true in the pg_catalog.pg_attribute table. But
> the column is dropped locially not the physically. Can you please tell me
> when this column will be physically also dropped. Is this column is
> automatically physically dropped? or I have to run some command to dropped
> it physically.

These kinds of questions are best sent to pgsql-general instead of -hackers.

The column won't be dropped physically until you execute one of the commands
that rewrites the table entirely. "CLUSTER" and "ALTER TABLE ALTER column TYPE
type" are the two popular ones.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Avoiding unnecessary reads in recovery
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Windows support - PostgreSQL 8.0 and 8.1