Re: LWLockAcquire and LockBuffer mode argument

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: LWLockAcquire and LockBuffer mode argument
Date: 2020-08-26 15:41:17
Message-ID: CA+TgmoacBvwNu+N7K+oAynfyUuyh01Rjd0DQC_jSLziWdaun8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 26, 2020 at 7:47 AM Dagfinn Ilmari Mannsåker
<ilmari(at)ilmari(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2020-08-26 15:49:01 Re: recovering from "found xmin ... from before relfrozenxid ..."
Previous Message Pavel Stehule 2020-08-26 15:06:22 Re: poc - possibility to write window function in PL languages