Re: explain plan difference - Mailing list pgsql-general

From Ravi Krishna
Subject Re: explain plan difference
Date
Msg-id 3FD70F49-80F9-4231-8D10-DD84148F2CC6@yahoo.com
Whole thread Raw
In response to Re: explain plan difference  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
>
> 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.)
>
>

Thank you.  I remember reading it here that VACUUM FULL does what you describe above.
So even TRUNCATE does not help here?




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: explain plan difference
Next
From: Szymon Lipiński
Date:
Subject: question about array indexing