pgsql: Remove manual tracking of file position in pg_dump/pg_backup_cus

2020-07-17 Thread Tom Lane
Remove manual tracking of file position in pg_dump/pg_backup_custom.c. We do not really need to track the file position by hand. We were already relying on ftello() whenever the archive file is seekable, while if it's not seekable we don't need the file position info anyway because we're not goin

pgsql: Remove manual tracking of file position in pg_dump/pg_backup_cus

2020-07-17 Thread Tom Lane
Remove manual tracking of file position in pg_dump/pg_backup_custom.c. We do not really need to track the file position by hand. We were already relying on ftello() whenever the archive file is seekable, while if it's not seekable we don't need the file position info anyway because we're not goin

pgsql: Remove manual tracking of file position in pg_dump/pg_backup_cus

2020-07-17 Thread Tom Lane
Remove manual tracking of file position in pg_dump/pg_backup_custom.c. We do not really need to track the file position by hand. We were already relying on ftello() whenever the archive file is seekable, while if it's not seekable we don't need the file position info anyway because we're not goin