On 7/9/17 22:08, Michael Paquier wrote: > While the version on my laptop does that: > if (time_to_abort) > { > - fprintf(stderr, _("%s: received interrupt signal, exiting\n"), > - progname); > + if (verbose) > + fprintf(stderr, _("%s: received interrupt > signal, exiting\n"), > + progname); > return true; > } > return false; > Not sure how that feel into the cracks.
I have committed that version. I think the exit message can be useful, because pg_receivewal will usually run as some kind of background process where the exit status might be not be visible. I have also committed a small documentation patch to describe the exit status and behavior better. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers