Re: pg_recvlogical use of SIGHUP
От
Andres Freund
Тема
Re: pg_recvlogical use of SIGHUP
Дата
Msg-id
20180706181148.5bh2xi2fp7nb4jf4@alap3.anarazel.de
Ответ на
pg_recvlogical use of SIGHUP (Dave Cramer)
Список
Дерево обсуждения
pg_recvlogical use of SIGHUP Dave Cramer <davecramer@gmail.com>
Re: pg_recvlogical use of SIGHUP Andres Freund <andres@anarazel.de>
Re: pg_recvlogical use of SIGHUP Dave Cramer <davecramer@gmail.com>
Re: pg_recvlogical use of SIGHUP Dave Cramer <davecramer@gmail.com>
Hi, On 2018-07-06 13:49:37 -0400, Dave Cramer wrote: > There is some undocumented (nothing in the docs) code that allows for > closing reopening the output file for pg_recvlogical. > > Since this doesn't change the name of the file in the process I'm wondering > how one might actually use this "feature" ? You can rename the file, then sighup, no? Renaming while the file is open will continue to write into the renamed file, but sighup'ing will use the original name. Greetings, Andres Freund
В списке pgsql-hackers по дате отправления
От: Larry Rosenman
Дата: