pg_recvlogical, stdout and SIGHUP - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject pg_recvlogical, stdout and SIGHUP
Date
Msg-id 53721EAD.4050905@vmware.com
Whole thread Raw
Responses Re: pg_recvlogical, stdout and SIGHUP
List 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



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: btree_gist valgrind warnings about uninitialized memory
Next
From: Andres Freund
Date:
Subject: Re: pg_recvlogical, stdout and SIGHUP