pgsql: Cope with data-offset-less archive files during out-of-order res

2020-07-17 Thread Tom Lane
Cope with data-offset-less archive files during out-of-order restores. pg_dump produces custom-format archive files that lack data offsets when it is unable to seek its output. Up to now that's been a hazard for pg_restore. But if pg_restore is able to seek in the archive file, there is no reaso

pgsql: Cope with data-offset-less archive files during out-of-order res

2020-07-17 Thread Tom Lane
Cope with data-offset-less archive files during out-of-order restores. pg_dump produces custom-format archive files that lack data offsets when it is unable to seek its output. Up to now that's been a hazard for pg_restore. But if pg_restore is able to seek in the archive file, there is no reaso

pgsql: Cope with data-offset-less archive files during out-of-order res

2020-07-17 Thread Tom Lane
Cope with data-offset-less archive files during out-of-order restores. pg_dump produces custom-format archive files that lack data offsets when it is unable to seek its output. Up to now that's been a hazard for pg_restore. But if pg_restore is able to seek in the archive file, there is no reaso