Re: Move global variables of pgoutput to plugin private scope.

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Move global variables of pgoutput to plugin private scope.
Дата
Msg-id ZROspYW0Pe7F9zEL@paquier.xyz
обсуждение исходный текст
Ответ на Re: Move global variables of pgoutput to plugin private scope.  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: Move global variables of pgoutput to plugin private scope.  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Wed, Sep 27, 2023 at 09:39:19AM +0530, Amit Kapila wrote:
> On Wed, Sep 27, 2023 at 9:10 AM Michael Paquier <michael@paquier.xyz> wrote:
>> Err, actually, I am going to disagree here for the patch of HEAD.  It
>> seems to me that there is zero need for pgoutput.h and we don't need
>> to show PGOutputData to the world.  The structure is internal to
>> Pgoutput.c and used only by its internal static routines.
>
> Do you disagree with the approach for the PG16 patch or HEAD? You
> mentioned HEAD but your argument sounds like you disagree with a
> different approach for PG16.

Only HEAD where the structure should be moved from pgoutput.h to
pgoutput.c, IMO.  The proposed patch for PG16 is OK as the size of the
structure should not change in a branch already released.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Move global variables of pgoutput to plugin private scope.
Следующее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: [PoC] pg_upgrade: allow to upgrade publisher node