pg_recvlogical, stdout and SIGHUP

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: pg_recvlogical, stdout and SIGHUP
Date: 2014-05-13 13:31:25
Message-ID: 53721EAD.4050905@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

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.

- Heikki

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-05-13 13:35:51 Re: pg_recvlogical, stdout and SIGHUP
Previous Message Heikki Linnakangas 2014-05-13 12:33:08 Re: btree_gist valgrind warnings about uninitialized memory