Re: [Proposal] Adding Log File Capability to pg_createsubscriber

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [Proposal] Adding Log File Capability to pg_createsubscriber
Дата
Msg-id 4c2eb422-696c-4e34-84e7-6c6cd95781ab@eisentraut.org
обсуждение
Ответ на Re: [Proposal] Adding Log File Capability to pg_createsubscriber  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: [Proposal] Adding Log File Capability to pg_createsubscriber
RE: [Proposal] Adding Log File Capability to pg_createsubscriber
Список pgsql-hackers
On 25.03.26 09:25, Amit Kapila wrote:
> On Wed, Mar 25, 2026 at 5:43 AM Gyan Sreejith <gyan.sreejith@gmail.com> wrote:
>>
>> Thank you, Kuroda-san and Chao for the suggestions and the patch. I have merged it with v18-0001, and I have fixed
everythingthat Peter suggested.
 
>>
> 
> Pushed after minor changes.

Instead of creating a new logging API in pg_createsubscriber locally, 
why not extend logging.c to support a log file.  This is much simpler, 
doesn't require caller changes, and could be reused elsewhere.  See 
attached patches.  (The 0003 and 0004 are just some additional code 
simplifications.)

Вложения

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