Re: [COMMITTERS] pgsql: Allow external recovery_config_directory - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Date
Msg-id 5153FFC5.4000308@vmware.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Allow external recovery_config_directory  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: [COMMITTERS] pgsql: Allow external recovery_config_directory  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On 27.03.2013 23:36, Simon Riggs wrote:
> Why do you think recovery_config_directory are different to
> config_file with respect to pg_basebackup?

pg_basebackup doesn't try to *write* anything to config_file. It does 
write to $PGDATA/recovery.conf, with the expectation that it takes 
effect when you start the server.

When you take a backup, I think it's quite reasonable that if you have 
set config_file to a different location, that's not backed up. Same with 
recovery.conf. But when pg_basebackup *creates* recovery.conf, it's at 
least surprising if it doesn't take effect.

- Heikki



pgsql-hackers by date:

Previous
From: Konstantin Izmailov
Date:
Subject: Re: money with 4 digits after dot
Next
From: Dean Rasheed
Date:
Subject: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)