PostgreSQL recovery file syntax, ver 8.4 vs ver 9.5

From: "Telium Technical Support" <support(at)telium(dot)ca>
To: <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: PostgreSQL recovery file syntax, ver 8.4 vs ver 9.5
Date: 2018-02-20 20:44:44
Message-ID: 000301d3aa8b$a70c17c0$f5244740$@telium.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

In postgreSQL version 8.4 it seems that you can place the db server into
warm standby mode with the following setting in recovery.conf

restore_command = 'pg_standby archiveDir %f %p %r'

In postgreSQL version 9.5 I see the same option, but I also see what appears
to be an alternative syntax in recovery.conf:

standby_mode = (boolean)

trigger_file = (string)

So is this new syntax an alternative to the old syntax (both are accepted by
PGSQL)? Any benefit to the new syntax?

Does the new syntax mean that I can use the restore_command setting as well
(to use my own copy command)?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2018-02-20 21:44:29 Re: PostgreSQL recovery file syntax, ver 8.4 vs ver 9.5
Previous Message Stephen Frost 2018-02-20 14:54:47 Re: Script to find out 'Page Corruption' and 'Fragmentation' in PostgreSQL.