Skip to content

PostgresNode::table_checksum is corrected#317

Merged
dmitry-lipetsk merged 1 commit intopostgrespro:masterfrom
dmitry-lipetsk:D20260115_001--node-table_checksum
Jan 15, 2026
Merged

PostgresNode::table_checksum is corrected#317
dmitry-lipetsk merged 1 commit intopostgrespro:masterfrom
dmitry-lipetsk:D20260115_001--node-table_checksum

Conversation

@dmitry-lipetsk
Copy link
Collaborator

The previous implementation has problems. For example, it did not release a connection with active transaction for empty table and this does not allow to execute "TRUNCATE TABLE" statement for this table.

New implementation is simple - it has a linear, fault-tolerant and single thread code.

Also

  • pgbench_table_checksums uses one transaction for all tables.

The previous implementation has problems. For example, it did not release a connection with active transaction for empty table and this does not allow to execute "TRUNCATE TABLE" statement for this table.

New implementation is simple - it has a linear, fault-tolerant and single thread code.

Also

pgbench_table_checksums uses one transaction for all tables.
@dmitry-lipetsk dmitry-lipetsk merged commit 1229e92 into postgrespro:master Jan 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant