Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU.
Date
Msg-id 921383.1597523945@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU.  (Noah Misch <noah@leadboat.com>)
Responses Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU.  (Noah Misch <noah@leadboat.com>)
List pgsql-committers
Noah Misch <noah@leadboat.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



pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: various improvements for pg_basebackup reference page.
Next
From: Noah Misch
Date:
Subject: Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU.