1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-22 02:52:08 +03:00

Change default of log_directory to 'log'

The previous default 'pg_log' might have indicated by its "pg_" prefix
that it is an internal system directory.  The new default is more in
line with the typical naming of directories with user-facing log files.
Together with the renaming of pg_clog and pg_xlog, this should clear up
that difference.

Author: Andreas Karlsson <andreas@proxel.se>
This commit is contained in:
Peter Eisentraut
2017-03-27 10:34:33 -04:00
parent a171f01501
commit 3371e4d9b1
6 changed files with 9 additions and 9 deletions

View File

@ -551,7 +551,7 @@ sub _backup_fs
$backup_path,
filterfn => sub {
my $src = shift;
return ($src ne 'pg_log' and $src ne 'postmaster.pid');
return ($src ne 'log' and $src ne 'postmaster.pid');
});
if ($hot)