Re: Both type of replications from a single server?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Both type of replications from a single server?
Дата
Msg-id 20201008080102.GE3457@paquier.xyz
обсуждение исходный текст
Ответ на Re: Both type of replications from a single server?  (Srinivasa T N <seenutn@gmail.com>)
Список pgsql-general
On Thu, Oct 08, 2020 at 01:25:14PM +0530, Srinivasa T N wrote:
> For streaming replication, I need to set wal_level to replica in A whereas
> for logical_replication we need to set wal_level to replica in the same A
> server.  So, was wondering how to go about?

A logical replica needs wal_level = logical, a setting that also
allows to do streaming replication for a physical replica.  But the
opposite is not true, as using wal_level = replica will not work for
logical replicas.  So, assuming that you want to have both logical and
physical replicas that replicate from the same source server, you need
to set wal_level to logical on the primary server because it is a
system-wide configuration.
--
Michael

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Srinivasa T N
Дата:
Сообщение: Re: Both type of replications from a single server?
Следующее
От: Jean-Marc Lessard
Дата:
Сообщение: Does the work made by vaccum in the current pass is lost when interrupted?