Re: [Patch] Optimize dropping of relation buffers using dlist - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: [Patch] Optimize dropping of relation buffers using dlist
Date
Msg-id CA+hUKG+riaypvaLA_TqbA1T9kcBf7bX-BMSt4k+jpB6GajuPoA@mail.gmail.com
Whole thread Raw
In response to Re: [Patch] Optimize dropping of relation buffers using dlist  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Tue, Nov 10, 2020 at 6:18 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
> Do we always truncate all the blocks? What if the vacuum has cleaned
> last N (say 100) blocks then how do we handle it?

Oh, hmm.  Yeah, that idea only works for DROP, not for truncate last N.



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: [PATCH] TAP test showing that pg_replication_slot_advance() works on standby
Next
From: Craig Ringer
Date:
Subject: Add docs stub for recovery.conf