pgsql: Fix bogus tar-file padding logic for standby.signal.

2020-04-27 Thread Robert Haas
Fix bogus tar-file padding logic for standby.signal. When pg_basebackup -R is used, we inject standby.signal into the tar file for the main tablespace. The proper thing to do is to pad each file injected into the tar file out to a 512-byte boundary by appending nulls, but here the file is of lengt

pgsql: Fix bogus tar-file padding logic for standby.signal.

2020-04-27 Thread Robert Haas
Fix bogus tar-file padding logic for standby.signal. When pg_basebackup -R is used, we inject standby.signal into the tar file for the main tablespace. The proper thing to do is to pad each file injected into the tar file out to a 512-byte boundary by appending nulls, but here the file is of lengt