Re: [HACKERS] [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: [HACKERS] [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s
Date
Msg-id CAFj8pRA=NdMHM-uAm1MQyzhWyc=2LR1pz0UJ9z=sDfXRDXk=ew@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers


2016-12-21 13:54 GMT+01:00 Robert Haas <robertmhaas@gmail.com>:
On Wed, Dec 21, 2016 at 2:14 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> Is there some help for extensions developers, how to fix extensions after
> this change?
>
> Orafce hits this change.

array_base and array_stride are gone; don't pass them.  The second
argument to LWLockRegisterTranche() is now the tranche name.  Pass
that instead of a structure.

Thank you

Pavel 

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

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Speedup twophase transactions
Next
From: Ants Aasma
Date:
Subject: Re: [HACKERS] Replication slot xmin is not reset if HS feedback isturned off while standby is shut down