Re: [HACKERS] logical replication and SIGHUP - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] logical replication and SIGHUP
Date
Msg-id 7439.1491833026@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] logical replication and SIGHUP  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
List pgsql-hackers
Petr Jelinek <petr.jelinek@2ndquadrant.com> writes:
> On 10/04/17 14:40, Tom Lane wrote:
>> Umm ... you're doing what?

> We are doing:
> +       SetConfigOption("synchronous_commit",
> +                                       MySubscription->synccommit ?
> "local" : "off",
> +                                       PGC_BACKEND, PGC_S_OVERRIDE);

That looks fine.

> I don't remember from top of my head if above is safe enough against
> config reread or not, hence the note.

Yes, the override will take care of it ...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [pgsql-www] [HACKERS] Small issue in online devel documentationbuild
Next
From: Stephen Frost
Date:
Subject: Re: [HACKERS] pg_dump emits ALTER TABLE ONLY partitioned_table