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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(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-21 12:54:51
Message-ID: CA+TgmoZ4+oQ5QjavZQkPrKxJpDSzpLormC58FkA1H+LagjF_QA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Pavel Stehule 2016-12-21 13:00:44 Re: [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s
Previous Message Fujii Masao 2016-12-21 11:27:53 pgsql: Forbid invalid combination of options in pg_basebackup.

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-12-21 12:56:10 Re: Speedup twophase transactions
Previous Message Etsuro Fujita 2016-12-21 12:44:01 Re: postgres_fdw bug in 9.6