Re: "traditional" replication - selected databases ?

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: lejeczek <peljasz(at)yahoo(dot)co(dot)uk>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: "traditional" replication - selected databases ?
Date: 2024-01-16 08:38:53
Message-ID: CAECtzeWp8OuGtWizJqe9VoLP4KU0mBKrBbrBEHS_WyVn0=Ex8A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

Le mar. 16 janv. 2024 à 09:20, lejeczek <peljasz(at)yahoo(dot)co(dot)uk> a écrit :

> hi guys,
>
> I've set up replication perhaps only a several times - and only now when I
> wondered I failed to sroogle a clear answer to - is possible that way to
> replicate only selected databases?
> By "that way" I mean - nothing fixed in-between, no third-parties, pure
> pgSQL to pgsql.
> Will it be purely & only by means of _pg_hba.conf_ (surely no..) ?
>
>
If you mean physical replication, the answer is no, you can't.

If you mean logical replication, the obvious answer is yes because you can
only set it for a specific database.

Regards.

--
Guillaume.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Romas Kontrimas 2024-01-16 08:54:31 Re: failed to setup barman backup when Posgres is running in Podman Container
Previous Message lejeczek 2024-01-16 08:20:14 "traditional" replication - selected databases ?