Re: CREATE DATABASE ... STRATEGY WAL_LOG issues

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org, Dilip Kumar <dilipbalaut@gmail.com>
Date: 2023-03-21T17:12:39Z
Lists: pgsql-hackers
On Tue, Mar 21, 2023 at 12:34 PM Andres Freund <andres@anarazel.de> wrote:
> More generally, I still think we need logic to use unused buffers even when
> strategies are in use

Yep.

> (my current theory is that we wouldn't increase the
> usagecount when strategies use unused buffers, so they can be replaced more
> easily).

Don't know about this part.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Fix memory leak and inefficiency in CREATE DATABASE ... STRATEGY WAL_LOG