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

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: [HACKERS] [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s
Дата
Msg-id CAFj8pRD-gbnyrkugQMY3zD_2T1ULjLYHaRKxc5+Y+hFn=b7Msg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] [COMMITTERS] pgsql: Simplify LWLock tranche machinery by removing array_base/array_s  (Pavel Stehule <pavel.stehule@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: tushar
Дата:
Сообщение: Re: [HACKERS] Parallel Index Scans
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] BUG: pg_stat_statements query normalization issueswith combined queries