pg_checksums
Activate/deactivate/verify checksums in offline Postgres clusters
pg_checksums : Activate/deactivate/verify checksums in offline Postgres clusters
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 5110 | pg_checksums | pg_checksums | 1.3 |
ADMIN | BSD-2-Clause | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s---r | No | Yes | No | No | yes | no |
| Relationships | |
|---|---|
| See Also | amcheck pg_catcheck pg_orphaned pg_pathcheck pg_isok pg_surgery pageinspect pg_repack adminpack |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PGDG | 1.3 |
18 17 16 15 14 | pg_checksums |
- |
| RPM | PGDG | 1.3 |
18 17 16 15 14 | pg_checksums_$v |
- |
| DEB | PGDG | 1.3 |
18 17 16 15 14 | postgresql-$v-pg-checksums |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| el8.aarch64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| el9.x86_64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| el9.aarch64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| el10.x86_64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| el10.aarch64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| d12.x86_64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| d12.aarch64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| d13.x86_64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| d13.aarch64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| u22.x86_64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| u22.aarch64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| u24.x86_64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| u24.aarch64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| u26.x86_64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
| u26.aarch64 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 | PGDG 1.3 |
Source
github.com/credativ/pg_checksums
pg_checksums-1.3.tar.gz
Install
Make sure PGDG repo available:
Install this extension with pig:
This extension does not need CREATE EXTENSION DDL command
Usage
pg_checksums: Activate/deactivate/verify checksums in offline Postgres clusters
pg_checksums_ext is a command-line tool (based on PostgreSQL’s built-in pg_checksums) that can verify, activate, or deactivate page-level checksums for a PostgreSQL cluster. It extends the built-in tool with online verification, SIGUSR1 progress toggling, fine-grained progress reporting, and I/O rate limiting.
Verify Checksums (can be done online)
Enable Checksums (requires clean shutdown)
Disable Checksums (requires clean shutdown)
Additional Options
-D, --pgdata– data directory path--check/--enable/--disable– operation mode--progress– show progress reporting--filenode– check only a specific filenode--no-sync– skip fsync--verbose– verbose output--debug– debug output- Send
SIGUSR1to toggle progress reporting during operation