diff options
| author | Peter Eisentraut | 2017-03-27 14:34:33 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2017-03-27 14:34:33 +0000 |
| commit | 3371e4d9b12455fe1f8d1516d0bd915aab86be17 (patch) | |
| tree | 278f4fc47055897597c922eb0b796ca302ceb71a /src/test/perl | |
| parent | a171f01501e11a2ef65d437ac2397a0050892d88 (diff) | |
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>
Diffstat (limited to 'src/test/perl')
| -rw-r--r-- | src/test/perl/PostgresNode.pm | 2 | ||||
| -rw-r--r-- | src/test/perl/RecursiveCopy.pm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index 1ad8f7fc1cd..cb84f1f2c6d 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -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) diff --git a/src/test/perl/RecursiveCopy.pm b/src/test/perl/RecursiveCopy.pm index 3e988132868..28ecaf6db23 100644 --- a/src/test/perl/RecursiveCopy.pm +++ b/src/test/perl/RecursiveCopy.pm @@ -48,9 +48,9 @@ attempted. RecursiveCopy::copypath('/some/path', '/empty/dir', filterfn => sub { - # omit pg_log and contents + # omit log/ and contents my $src = shift; - return $src ne 'pg_log'; + return $src ne 'log'; } ); |
