Files
backup-scripts/pgdump-sort
Vasili Sviridov 9702287a92 Workaround for pg_dump non-idempotent behaviour
Problem
=======

* `pg_dump` may dump the data rows in arbitrary order. This messes with
  the final hash of the dump file, even though the data after restoring
  would be same. This creates additional uploads with no value

Solution
========

* Utilize `pgdump-sort` script by `tigra564`, which attempts to sort
  data in the dump file specifically for hashing purposes.
2022-12-26 12:35:38 -08:00

5.4 KiB
Executable File