pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Andrus <kobruleht2@hot.ee>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Query returns no rows in pg_basebackup cluster
Date: Mon, 25 May 2020 15:30:51 +0900
Message-ID: <20200525063051.GF387341@paquier.xyz> (raw)
In-Reply-To: <672D501EF09642EB82A7226828644214@dell2>
References: <2B1267647FD14565B73801AF12CA1A88@dell2>
	<ea1e505d-d049-1d1d-e3b3-e655928949b8@aklaver.com>
	<17696.1590101245@sss.pgh.pa.us>
	<69057EFCD3C7477B9C0C08D48E2ECD77@dell2>
	<20200524231007.GB387341@paquier.xyz>
	<672D501EF09642EB82A7226828644214@dell2>

On Mon, May 25, 2020 at 09:02:49AM +0300, Andrus wrote:
> Will logical replication also allow two modes:
>  1. PITR recovery can used if needed
>  2. Hot standby: User databases in both clusters contain same data.
> 
> How to set logical replication for all user databases in cluster so that
> when new database is added or new tables are added to database they will
> start replicate automatically ?

I think that it would be good if you spend some time reading the
documentation on this stuff, particularly the part about restrictions,
to understand the use cases where that can become useful:
https://www.postgresql.org/docs/devel/logical-replication.html
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (25+ messages)  latest in thread

Message-ID: <20200525063051.GF387341@paquier.xyz>
Permalink:  ../20200525063051.GF387341@paquier.xyz/
Also on:    postgresql.org/message-id/20200525063051.GF387341@paquier.xyz

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: michael@paquier.xyz, kobruleht2@hot.ee, tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com
  Subject: Re: Query returns no rows in pg_basebackup cluster
  In-Reply-To: <20200525063051.GF387341@paquier.xyz>
  References: <2B1267647FD14565B73801AF12CA1A88@dell2> <ea1e505d-d049-1d1d-e3b3-e655928949b8@aklaver.com> <17696.1590101245@sss.pgh.pa.us> <69057EFCD3C7477B9C0C08D48E2ECD77@dell2> <20200524231007.GB387341@paquier.xyz> <672D501EF09642EB82A7226828644214@dell2> <20200525063051.GF387341@paquier.xyz>

* 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