postgresql/src/bin
Tom Lane a7bcf391f3 Remove useless lstat() call in pg_rewind.
This is duplicative of an lstat that was just done by the calling
function (traverse_datadir), besides which we weren't really doing
anything with the results.  There's not much point in checking to
see if someone removed the file since the previous lstat, since the
FILE_ACTION_REMOVE code would have to deal with missing-file cases
anyway.  Moreover, the "exists = false" assignment was a dead store;
nothing was done with that value later.

A syscall saved is a syscall earned, so back-patch to 9.5
where this code was introduced.

Discussion: https://postgr.es/m/1221796.1599329320@sss.pgh.pa.us
2020-09-06 11:50:41 -04:00
..
initdb Translation updates 2020-08-10 15:21:18 +02:00
pg_archivecleanup Translation updates 2020-08-10 15:21:18 +02:00
pg_basebackup Avoid non-constant format string argument to fprintf(). 2020-08-18 13:13:28 +03:00
pg_checksums Avoid non-constant format string argument to fprintf(). 2020-08-18 13:13:28 +03:00
pg_config Translation updates 2020-08-10 15:21:18 +02:00
pg_controldata Translation updates 2020-08-10 15:21:18 +02:00
pg_ctl Translation updates 2020-08-10 15:21:18 +02:00
pg_dump Collect attribute data on extension owned tables being dumped 2020-09-04 13:55:03 -04:00
pg_resetwal Translation updates 2020-08-10 15:21:18 +02:00
pg_rewind Remove useless lstat() call in pg_rewind. 2020-09-06 11:50:41 -04: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-08-10 15:21:18 +02:00
pg_waldump Translation updates 2020-08-10 15:21:18 +02: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 Translation updates 2020-08-10 15:21:18 +02:00
scripts Translation updates 2020-08-10 15:21:18 +02:00
Makefile Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00