Re: explain plan difference - Mailing list pgsql-general

From Tom Lane
Subject Re: explain plan difference
Date
Msg-id 5191.1572878726@sss.pgh.pa.us
Whole thread Raw
In response to Re: explain plan difference  (Ravi Krishna <srkrishna@yahoo.com>)
Responses Re: explain plan difference  (Ravi Krishna <srkrishna@yahoo.com>)
List pgsql-general
Ravi Krishna <srkrishna@yahoo.com> writes:
>> VACUUM would not change the state of the dropped columns.

> When does it change?

Never, unless you drop and recreate the table.  Removing a dropped
column would change the attnums of following columns, which we
can't support because the tableoid+attnum is the only persistent
identifier of a column.

(From memory, operations like VACUUM FULL and CLUSTER will rewrite
dropped columns with NULLs to reduce their storage impact.  But they
don't go away.)

            regards, tom lane



pgsql-general by date:

Previous
From: Ravi Krishna
Date:
Subject: Re: explain plan difference
Next
From: Ravi Krishna
Date:
Subject: Re: explain plan difference