Unverified Commit 82600afc authored by Dimitri Fontaine's avatar Dimitri Fontaine Committed by GitHub
Browse files

Improve pgcopydb compare data checksum computation. (#407)

Use an output format that is stable in number of digits and can deal with a
bigint overflow (in Postgres a sum(bigint) is numeric): use an MD5 sum and
represent it as an UUID.

Also, include the row count in the MD5 computation to better protect against
collisions.

Finally, add support for pgcopydb compare data --json.
parent 35a0087a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment