Re: [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s
Date: 2016-12-23 08:17:32
Message-ID: CAFj8pRD-gbnyrkugQMY3zD_2T1ULjLYHaRKxc5+Y+hFn=b7Msg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

2016-12-21 14:00 GMT+01:00 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:

>
>
> 2016-12-21 13:54 GMT+01:00 Robert Haas <robertmhaas(at)gmail(dot)com>:
>
>> On Wed, Dec 21, 2016 at 2:14 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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
>>
>
>

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-12-23 12:26:34 pgsql: Remove _hash_chgbufaccess().
Previous Message Joe Conway 2016-12-23 01:58:08 pgsql: Improve RLS documentation with respect to COPY

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2016-12-23 09:51:43 Re: BUG: pg_stat_statements query normalization issues with combined queries
Previous Message tushar 2016-12-23 06:35:02 Re: Parallel Index Scans