Re: [GENERAL] Streaming Replication archive_command is really needed? - Mailing list pgsql-general

From Achilleas Mantzios
Subject Re: [GENERAL] Streaming Replication archive_command is really needed?
Date
Msg-id e22b0815-6cba-4cc2-f62e-807fd8c91b78@matrix.gatewaynet.com
Whole thread Raw
In response to Re: [GENERAL] Streaming Replication archive_command is really needed?  (Leonardo M. Ramé <l.rame@griensu.com>)
List 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.rame@griensu.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



pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: [GENERAL] Logging at schema level
Next
From: Michael Paquier
Date:
Subject: Re: [GENERAL] Logging at schema level