Re: [HACKERS] New option in pg_basebackup to exclude pg_log files during base backup

2014-04-15 Thread Peter Eisentraut
On 4/9/14, 10:57 AM, Magnus Hagander wrote: > So it'd be an array, and by default you'd have something like: > basebackup_skip_path = $log_directory > ? > > Maybe use it to skip backup labels by default as well. > basebackup_skip_path = $log_directory, $backup_l

Re: [HACKERS] New option in pg_basebackup to exclude pg_log files during base backup

2014-04-09 Thread Prabakaran, Vaishnavi
On Thursday, Apr 10,2014 at 1:15Am, Álvaro Herrera wrote: >Magnus Hagander wrote: >>On Wed, Apr 9, 2014 at 4:55 PM, Alvaro Herrera >>wrote: >> > So it'd be an array, and by default you'd have something like: >> > basebackup_skip_path = $log_directory ? >> > >> > Maybe use it to skip backup l

Re: [HACKERS] New option in pg_basebackup to exclude pg_log files during base backup

2014-04-09 Thread Alvaro Herrera
Magnus Hagander wrote: > On Wed, Apr 9, 2014 at 4:55 PM, Alvaro Herrera > wrote: > > So it'd be an array, and by default you'd have something like: > > basebackup_skip_path = $log_directory > > ? > > > > Maybe use it to skip backup labels by default as well. > > basebackup_skip_pa

Re: [HACKERS] New option in pg_basebackup to exclude pg_log files during base backup

2014-04-09 Thread Magnus Hagander
On Wed, Apr 9, 2014 at 4:55 PM, Alvaro Herrera wrote: > Magnus Hagander wrote: > > > While pg_log is definitely the most common one being the default on many > > platforms, we'll still be missing other ones. Should we really hardcode > it, > > or should we somehow derive it from the settings for l

Re: [HACKERS] New option in pg_basebackup to exclude pg_log files during base backup

2014-04-09 Thread Alvaro Herrera
Magnus Hagander wrote: > While pg_log is definitely the most common one being the default on many > platforms, we'll still be missing other ones. Should we really hardcode it, > or should we somehow derive it from the settings for log_directory instead? > > As a more general discussion, is this s

Re: [HACKERS] New option in pg_basebackup to exclude pg_log files during base backup

2014-04-09 Thread Magnus Hagander
On Wed, Apr 9, 2014 at 2:06 AM, Prabakaran, Vaishnavi < vaishna...@fast.au.fujitsu.com> wrote: > Hi all, > > > > Following the discussion in message id - > cahgqgwffmor4ecugwhzpaapyqbsekdg66vmj1rvej6z-ega...@mail.gmail.com , I > have developed the patch which gives option to user to exclude pg_l

[HACKERS] New option in pg_basebackup to exclude pg_log files during base backup

2014-04-08 Thread Prabakaran, Vaishnavi
Hi all, Following the discussion in message id - cahgqgwffmor4ecugwhzpaapyqbsekdg66vmj1rvej6z-ega...@mail.gmail.com , I have developed the patch which gives option to user to exclude pg_log directory contents in pg_base