Re: Streaming Replication archive_command is really needed?

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Streaming Replication archive_command is really needed?
Date: 2017-07-21 05:42:30
Message-ID: e22b0815-6cba-4cc2-f62e-807fd8c91b78@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 20/07/2017 23:07, Leonardo M. Ramé wrote:
>
>
> El 20/07/17 a las 16:57, Andreas Kretschmer escribió:
>> On 20 July 2017 21:46:09 GMT+02:00, "Leonardo M. Ramé" <l(dot)rame(at)griensu(dot)com> wrote:
>>> Hi, I wonder if archive_mode=on and archive_command parameters in
>>> postgresql.conf are really needed for streaming replication between two
>>>
>>> servers (master-slave).
>>>
>>> Regards,
>>
>> No.
>>
>> Andreas
>>
>
> So, can I just comment those commands and remove the main/archive directory?
You'll lose the capability of PITR. Also what do you mean main/archive directory? I hope you don't mean data/pg_xlog .

--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2017-07-21 05:42:53 Re: Logging at schema level
Previous Message John R Pierce 2017-07-21 05:40:47 Re: Logging at schema level