postgresql/src/bin
Tom Lane f853ffa220 Avoid time-of-day-dependent failure in log rotation test.
Buildfarm members pogona and petalura have shown a failure when
pg_ctl/t/004_logrotate.pl starts just before local midnight.
The default rotate-at-midnight behavior occurs just before the
Perl script examines current_logfiles, so it figures that the
rotation it's already requested has occurred ... but in reality,
that rotation happens just after it looks, so the expected new
log data goes into a different file than the one it's examining.

In HEAD, src/test/kerberos/t/001_auth.pl has acquired similar code
that evidently has a related failure mode.  Besides being quite new,
few buildfarm critters run that test, so it's unsurprising that
we've not yet seen a failure there.

Fix both cases by setting log_rotation_age = 0 so that no time-based
rotation can occur.  Also absorb 004_logrotate.pl's decision to
set lc_messages = 'C' into the kerberos test, in hopes that it will
work in non-English prevailing locales.

Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=pogona&dt=2020-12-24%2022%3A10%3A04
Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=petalura&dt=2020-02-01%2022%3A20%3A04
2020-12-24 21:37:46 -05:00
..
initdb initdb: complete getopt_long alphabetization 2020-12-12 12:59:09 -05:00
pg_archivecleanup Translation updates 2020-11-09 12:36:44 +01:00
pg_basebackup Translation updates 2020-11-09 12:36:44 +01:00
pg_checksums pg_checksums: data_checksum_version is unsigned so use %u not %d 2020-12-01 20:27:05 -05:00
pg_config Translation updates 2020-11-09 12:36:44 +01:00
pg_controldata Translation updates 2020-11-09 12:36:44 +01:00
pg_ctl Avoid time-of-day-dependent failure in log rotation test. 2020-12-24 21:37:46 -05:00
pg_dump Translation updates 2020-11-09 12:36:44 +01:00
pg_resetwal Translation updates 2020-11-09 12:36:44 +01:00
pg_rewind Fix more race conditions in the newly-added pg_rewind test. 2020-12-07 14:55:22 +02:00
pg_test_fsync Translation updates 2020-08-10 15:21:18 +02:00
pg_test_timing Translation updates 2020-08-10 15:21:18 +02:00
pg_upgrade Translation updates 2020-11-09 12:36:44 +01:00
pg_waldump Translation updates 2020-11-09 12:36:44 +01:00
pgbench Fix integer-overflow edge case detection in interval_mul and pgbench. 2019-11-07 11:22:59 -05:00
pgevent Update copyright for 2019 2019-01-02 12:44:25 -05:00
psql Fix recently-introduced breakage in psql's \connect command. 2020-11-29 15:22:04 -05:00
scripts Translation updates 2020-11-09 12:36:44 +01:00
Makefile Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00