Re: [COMMITTERS] pgsql: Restart logical replication launcher when killed

Michael Paquier <michael.paquier@gmail.com>

From: Michael Paquier <michael.paquier@gmail.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-06-21T23:46:35Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Restart logical replication launcher when killed

On Thu, Jun 22, 2017 at 4:16 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> Restart logical replication launcher when killed

-           /* The logical replication launcher can be stopped at any time. */
-           proc_exit(0);
+           /* The logical replication launcher can be stopped at any time.
+            * Use exit status 1 so the background worker is restarted. */
+           proc_exit(1);
I know I am noisy on the matter but... This comment format is not PG-like.
-- 
Michael