Re: LWLockAcquire and LockBuffer mode argument - Mailing list pgsql-hackers

From Robert Haas
Subject Re: LWLockAcquire and LockBuffer mode argument
Date
Msg-id CA+TgmoacBvwNu+N7K+oAynfyUuyh01Rjd0DQC_jSLziWdaun8g@mail.gmail.com
Whole thread Raw
In response to Re: LWLockAcquire and LockBuffer mode argument  (ilmari@ilmari.org (Dagfinn Ilmari Mannsåker))
Responses Re: LWLockAcquire and LockBuffer mode argument  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Wed, Aug 26, 2020 at 7:47 AM Dagfinn Ilmari Mannsåker
<ilmari@ilmari.org> wrote:
> Would it be possible to make the compat versions only available when
> building extensions, but not to core code?

I think that would be good if we can do it. We could even have it
inside #ifdef LWLOCK_API_COMPAT, and extension authors who want the
compatibility interface can define that.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: poc - possibility to write window function in PL languages
Next
From: Robert Haas
Date:
Subject: Re: recovering from "found xmin ... from before relfrozenxid ..."