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

2016-12-23 Thread Pavel Stehule
2016-12-21 14:00 GMT+01:00 Pavel Stehule :

>
>
> 2016-12-21 13:54 GMT+01:00 Robert Haas :
>
>> On Wed, Dec 21, 2016 at 2:14 AM, Pavel Stehule 
>> 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
>>
>
>


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

2016-12-21 Thread Pavel Stehule
2016-12-21 13:54 GMT+01:00 Robert Haas :

> On Wed, Dec 21, 2016 at 2:14 AM, Pavel Stehule 
> 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
>


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

2016-12-21 Thread Robert Haas
On Wed, Dec 21, 2016 at 2:14 AM, Pavel Stehule  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.

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers