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 CAFj8pRD-gbnyrkugQMY3zD_2T1ULjLYHaRKxc5+Y+hFn=b7Msg@mail.gmail.com
Whole thread Raw
In response to 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 14:00 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:


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

It is working - for record the necessary changes in Orafce  https://github.com/orafce/orafce/commit/cac48984458c24d92243a7d4df549409dec0b826

Regards

Pavel


Pavel 

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


pgsql-hackers by date:

Previous
From: tushar
Date:
Subject: Re: [HACKERS] Parallel Index Scans
Next
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] BUG: pg_stat_statements query normalization issueswith combined queries