Rewrite unlogged relation build

This commit is contained in:
Konstantin Knizhnik
2024-04-24 14:47:26 +03:00
parent e4fc6c3162
commit 1bd86c5c6a
5 changed files with 209 additions and 24 deletions

View File

@@ -4316,7 +4316,7 @@ def check_restored_datadir_content(
restored_files = [f for f in restored_files if f not in ignored_files]
# check that file sets are equal
#assert pgdata_files == restored_files
# assert pgdata_files == restored_files
# compare content of the files
# filecmp returns (match, mismatch, error) lists
@@ -4339,7 +4339,7 @@ def check_restored_datadir_content(
cmd = f"diff {f1}.hex {f2}.hex"
subprocess.run([cmd], stdout=stdout_f, shell=True)
#assert (mismatch, error) == ([], [])
# assert (mismatch, error) == ([], [])
def logical_replication_sync(subscriber: VanillaPostgres, publisher: Endpoint) -> Lsn: