Re: pg_recvlogical, stdout and SIGHUP
От | Andres Freund |
---|---|
Тема | Re: pg_recvlogical, stdout and SIGHUP |
Дата | |
Msg-id | 20140513133551.GC9535@awork2.anarazel.de обсуждение исходный текст |
Ответ на | pg_recvlogical, stdout and SIGHUP (Heikki Linnakangas <hlinnakangas@vmware.com>) |
Ответы |
Re: pg_recvlogical, stdout and SIGHUP
|
Список | pgsql-hackers |
On 2014-05-13 16:31:25 +0300, Heikki Linnakangas wrote: > pg_recvlogical re-opens the output file on SIGHUP. If the output goes to > stdout, it will close stdout on SIGHUP. That's a bug, isn't it? Yes. An annoying one at that because it'll mean a a new connection will use that fd and we'll start writing stdout stuff to it... > Another thing I noticed is that if when the output goes to a file, the file > isn't re-opened immediately on SIGHUP. Only after receiving some data from > the server. I believe that's also not intentional. Hm. I can't really get excited about that one. Not doing that seems to complicate matters unneccessarily. What's the problem here? Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: