Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU.
Date: 2020-08-15 20:39:05
Message-ID: 921383.1597523945@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Noah Misch <noah(at)leadboat(dot)com> writes:
> Prevent concurrent SimpleLruTruncate() for any given SLRU.

I find it fairly scary that you've changed enum LockTagType in the
back branches. Are we quite certain that no extensions have compiled-in
values of that enum?

Safer from an ABI standpoint would be to add the new value at the end,
at least in the back branches.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2020-08-15 20:48:18 Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU.
Previous Message Tom Lane 2020-08-15 19:44:50 pgsql: Doc: various improvements for pg_basebackup reference page.