Re: Can I make logical replication behave like synchronous streaming?

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: sbob <sbob(at)quadratum-braccas(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Can I make logical replication behave like synchronous streaming?
Date: 2021-10-21 05:50:38
Message-ID: 2855d4caf06b0c5dddc1cbb56809802d666960d0.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2021-10-20 at 15:47 -0600, sbob wrote:
> Does logical replication perform like synchronous streaming? If not can
> I force it to do so?

Sure!

Set "application_name" to some name in the CONNECTION clause of
CREATE SUBSCRIPTION and use that name in "synchronous_standby_names"
on the primary.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Firthouse banu 2021-10-21 12:13:11 Replication if single database
Previous Message Ron 2021-10-20 22:06:08 Re: Understanding was terminated by signal 9: Killed