pgsql: Remove useless lstat() call in pg_rewind.

2020-09-06 Thread Tom Lane
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,

pgsql: Remove useless lstat() call in pg_rewind.

2020-09-06 Thread Tom Lane
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,

pgsql: Remove useless lstat() call in pg_rewind.

2020-09-06 Thread Tom Lane
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,

pgsql: Remove useless lstat() call in pg_rewind.

2020-09-06 Thread Tom Lane
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,

pgsql: Remove useless lstat() call in pg_rewind.

2020-09-06 Thread Tom Lane
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,

pgsql: Remove useless lstat() call in pg_rewind.

2020-09-06 Thread Tom Lane
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,

pgsql: Remove useless lstat() call in pg_rewind.

2020-09-06 Thread Tom Lane
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,