pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ravi Krishna <srkrishna@yahoo.com>
Cc: pgsql-generallists.postgresql.org pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: explain plan difference
Date: Mon, 4 Nov 2019 10:00:27 -0500
Message-ID: <3FD70F49-80F9-4231-8D10-DD84148F2CC6@yahoo.com> (raw)
In-Reply-To: <5191.1572878726@sss.pgh.pa.us>
References: <CAKE1AiYdwjx_Wq07vE=uwHeDHa8cL35iD_GyqHrKfJ3WihHBkg@mail.gmail.com>
	<14145.1572840079@sss.pgh.pa.us>
	<CAKE1AiZgvj4TbgSaaCgaUMkHUeKxQ5W9u0G3SobihG-ts0ovxg@mail.gmail.com>
	<46D43737-F971-440D-AB13-8EDBB89E91C1@yahoo.com>
	<32632.1572877563@sss.pgh.pa.us>
	<F724132B-7687-46BC-95F1-1C044B4A7561@yahoo.com>
	<5191.1572878726@sss.pgh.pa.us>

> 
> 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?






view thread (8+ messages)

Message-ID: <3FD70F49-80F9-4231-8D10-DD84148F2CC6@yahoo.com>
Permalink:  ../3FD70F49-80F9-4231-8D10-DD84148F2CC6@yahoo.com/
Also on:    postgresql.org/message-id/3FD70F49-80F9-4231-8D10-DD84148F2CC6@yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: srkrishna@yahoo.com
  Subject: Re: explain plan difference
  In-Reply-To: <3FD70F49-80F9-4231-8D10-DD84148F2CC6@yahoo.com>
  References: <CAKE1AiYdwjx_Wq07vE=uwHeDHa8cL35iD_GyqHrKfJ3WihHBkg@mail.gmail.com> <14145.1572840079@sss.pgh.pa.us> <CAKE1AiZgvj4TbgSaaCgaUMkHUeKxQ5W9u0G3SobihG-ts0ovxg@mail.gmail.com> <46D43737-F971-440D-AB13-8EDBB89E91C1@yahoo.com> <32632.1572877563@sss.pgh.pa.us> <F724132B-7687-46BC-95F1-1C044B4A7561@yahoo.com> <5191.1572878726@sss.pgh.pa.us> <3FD70F49-80F9-4231-8D10-DD84148F2CC6@yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox