pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: sbob <sbob@quadratum-braccas.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Can I make logical replication behave like synchronous streaming?
Date: Thu, 21 Oct 2021 07:50:38 +0200
Message-ID: <2855d4caf06b0c5dddc1cbb56809802d666960d0.camel@cybertec.at> (raw)
In-Reply-To: <8381e958-e437-cc8c-f912-02bfd420cead@quadratum-braccas.com>
References: <8381e958-e437-cc8c-f912-02bfd420cead@quadratum-braccas.com>

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






view thread (3+ messages)  latest in thread

Message-ID: <2855d4caf06b0c5dddc1cbb56809802d666960d0.camel@cybertec.at>
Permalink:  ../2855d4caf06b0c5dddc1cbb56809802d666960d0.camel@cybertec.at/
Also on:    postgresql.org/message-id/2855d4caf06b0c5dddc1cbb56809802d666960d0.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, sbob@quadratum-braccas.com
  Subject: Re: Can I make logical replication behave like synchronous streaming?
  In-Reply-To: <2855d4caf06b0c5dddc1cbb56809802d666960d0.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox