Skip to content

pg_integrity_checksums

Physical and logical checksums for PostgreSQL pages, rows, tables, indexes and databases.

pg_integrity_checksums · Physical and logical checksums for PostgreSQL pages, rows, tables, indexes and databases.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
5115pg_integrity_checksumspg_integrity_checksums2.9.2ADMINPostgreSQLC
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d-rNoYesNoYesyesno
Relationships
See Alsoamcheck pg_checksums
Recapture pre-2.9 non-system DB baselines and affected pre-2.9.2 XML, BRIN and legacy-index baselines.

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXTPIGSTY2.9.219 18 17 16 15pg_integrity_checksums-
RPMPIGSTY2.9.219 18 17 16 15pg_integrity_checksums_$v-
DEBPIGSTY2.9.219 18 17 16 15postgresql-$v-pg-integrity-checksums-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APIGSTY 2.9.1PIGSTY 2.9.1PIGSTY 2.9.1PIGSTY 2.9.1
el8.aarch64N/APIGSTY 2.9.1PIGSTY 2.9.1PIGSTY 2.9.1PIGSTY 2.9.1
el9.x86_64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
el9.aarch64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
el10.x86_64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
el10.aarch64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
d12.x86_64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
d12.aarch64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
d13.x86_64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
d13.aarch64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
u22.x86_64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
u22.aarch64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
u24.x86_64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
u24.aarch64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
u26.x86_64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
u26.aarch64PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2PIGSTY 2.9.2
PackageVersionOSORGSIZEFile URL
pg_integrity_checksums_192.9.2el9.x86_64pigsty216.0 KiBpg_integrity_checksums_19-2.9.2-1PGSTY.el9.x86_64.rpm
pg_integrity_checksums_192.9.2el9.aarch64pigsty211.8 KiBpg_integrity_checksums_19-2.9.2-1PGSTY.el9.aarch64.rpm
pg_integrity_checksums_192.9.2el10.x86_64pigsty217.4 KiBpg_integrity_checksums_19-2.9.2-1PGSTY.el10.x86_64.rpm
pg_integrity_checksums_192.9.2el10.aarch64pigsty216.5 KiBpg_integrity_checksums_19-2.9.2-1PGSTY.el10.aarch64.rpm
postgresql-19-pg-integrity-checksums2.9.2d12.x86_64pigsty195.7 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_amd64.deb
postgresql-19-pg-integrity-checksums2.9.2d12.aarch64pigsty191.4 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_arm64.deb
postgresql-19-pg-integrity-checksums2.9.2d13.x86_64pigsty195.9 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~trixie_amd64.deb
postgresql-19-pg-integrity-checksums2.9.2d13.aarch64pigsty191.7 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~trixie_arm64.deb
postgresql-19-pg-integrity-checksums2.9.2u22.x86_64pigsty210.6 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~jammy_amd64.deb
postgresql-19-pg-integrity-checksums2.9.2u22.aarch64pigsty209.1 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~jammy_arm64.deb
postgresql-19-pg-integrity-checksums2.9.2u24.x86_64pigsty201.9 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~noble_amd64.deb
postgresql-19-pg-integrity-checksums2.9.2u24.aarch64pigsty201.6 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~noble_arm64.deb
postgresql-19-pg-integrity-checksums2.9.2u26.x86_64pigsty204.0 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~resolute_amd64.deb
postgresql-19-pg-integrity-checksums2.9.2u26.aarch64pigsty203.9 KiBpostgresql-19-pg-integrity-checksums_2.9.2-1PGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_integrity_checksums_182.9.1el8.x86_64pigsty211.6 KiBpg_integrity_checksums_18-2.9.1-1PGSTY.el8.x86_64.rpm
pg_integrity_checksums_182.9.1el8.aarch64pigsty205.7 KiBpg_integrity_checksums_18-2.9.1-1PGSTY.el8.aarch64.rpm
pg_integrity_checksums_182.9.2el9.x86_64pigsty215.9 KiBpg_integrity_checksums_18-2.9.2-1PGSTY.el9.x86_64.rpm
pg_integrity_checksums_182.9.2el9.aarch64pigsty211.8 KiBpg_integrity_checksums_18-2.9.2-1PGSTY.el9.aarch64.rpm
pg_integrity_checksums_182.9.2el10.x86_64pigsty217.4 KiBpg_integrity_checksums_18-2.9.2-1PGSTY.el10.x86_64.rpm
pg_integrity_checksums_182.9.2el10.aarch64pigsty216.5 KiBpg_integrity_checksums_18-2.9.2-1PGSTY.el10.aarch64.rpm
postgresql-18-pg-integrity-checksums2.9.2d12.x86_64pigsty195.7 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_amd64.deb
postgresql-18-pg-integrity-checksums2.9.2d12.aarch64pigsty191.6 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_arm64.deb
postgresql-18-pg-integrity-checksums2.9.2d13.x86_64pigsty195.7 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~trixie_amd64.deb
postgresql-18-pg-integrity-checksums2.9.2d13.aarch64pigsty191.8 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~trixie_arm64.deb
postgresql-18-pg-integrity-checksums2.9.2u22.x86_64pigsty210.6 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~jammy_amd64.deb
postgresql-18-pg-integrity-checksums2.9.2u22.aarch64pigsty209.2 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~jammy_arm64.deb
postgresql-18-pg-integrity-checksums2.9.2u24.x86_64pigsty201.7 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~noble_amd64.deb
postgresql-18-pg-integrity-checksums2.9.2u24.aarch64pigsty201.3 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~noble_arm64.deb
postgresql-18-pg-integrity-checksums2.9.2u26.x86_64pigsty204.1 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~resolute_amd64.deb
postgresql-18-pg-integrity-checksums2.9.2u26.aarch64pigsty203.8 KiBpostgresql-18-pg-integrity-checksums_2.9.2-1PGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_integrity_checksums_172.9.1el8.x86_64pigsty211.2 KiBpg_integrity_checksums_17-2.9.1-1PGSTY.el8.x86_64.rpm
pg_integrity_checksums_172.9.1el8.aarch64pigsty205.4 KiBpg_integrity_checksums_17-2.9.1-1PGSTY.el8.aarch64.rpm
pg_integrity_checksums_172.9.2el9.x86_64pigsty213.0 KiBpg_integrity_checksums_17-2.9.2-1PGSTY.el9.x86_64.rpm
pg_integrity_checksums_172.9.2el9.aarch64pigsty211.4 KiBpg_integrity_checksums_17-2.9.2-1PGSTY.el9.aarch64.rpm
pg_integrity_checksums_172.9.2el10.x86_64pigsty217.6 KiBpg_integrity_checksums_17-2.9.2-1PGSTY.el10.x86_64.rpm
pg_integrity_checksums_172.9.2el10.aarch64pigsty216.1 KiBpg_integrity_checksums_17-2.9.2-1PGSTY.el10.aarch64.rpm
postgresql-17-pg-integrity-checksums2.9.2d12.x86_64pigsty195.1 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_amd64.deb
postgresql-17-pg-integrity-checksums2.9.2d12.aarch64pigsty191.1 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_arm64.deb
postgresql-17-pg-integrity-checksums2.9.2d13.x86_64pigsty195.3 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~trixie_amd64.deb
postgresql-17-pg-integrity-checksums2.9.2d13.aarch64pigsty191.3 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~trixie_arm64.deb
postgresql-17-pg-integrity-checksums2.9.2u22.x86_64pigsty247.9 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~jammy_amd64.deb
postgresql-17-pg-integrity-checksums2.9.2u22.aarch64pigsty246.5 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~jammy_arm64.deb
postgresql-17-pg-integrity-checksums2.9.2u24.x86_64pigsty201.2 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~noble_amd64.deb
postgresql-17-pg-integrity-checksums2.9.2u24.aarch64pigsty201.0 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~noble_arm64.deb
postgresql-17-pg-integrity-checksums2.9.2u26.x86_64pigsty204.0 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~resolute_amd64.deb
postgresql-17-pg-integrity-checksums2.9.2u26.aarch64pigsty203.5 KiBpostgresql-17-pg-integrity-checksums_2.9.2-1PGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_integrity_checksums_162.9.1el8.x86_64pigsty211.6 KiBpg_integrity_checksums_16-2.9.1-1PGSTY.el8.x86_64.rpm
pg_integrity_checksums_162.9.1el8.aarch64pigsty206.1 KiBpg_integrity_checksums_16-2.9.1-1PGSTY.el8.aarch64.rpm
pg_integrity_checksums_162.9.2el9.x86_64pigsty213.7 KiBpg_integrity_checksums_16-2.9.2-1PGSTY.el9.x86_64.rpm
pg_integrity_checksums_162.9.2el9.aarch64pigsty212.0 KiBpg_integrity_checksums_16-2.9.2-1PGSTY.el9.aarch64.rpm
pg_integrity_checksums_162.9.2el10.x86_64pigsty218.0 KiBpg_integrity_checksums_16-2.9.2-1PGSTY.el10.x86_64.rpm
pg_integrity_checksums_162.9.2el10.aarch64pigsty216.7 KiBpg_integrity_checksums_16-2.9.2-1PGSTY.el10.aarch64.rpm
postgresql-16-pg-integrity-checksums2.9.2d12.x86_64pigsty195.7 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_amd64.deb
postgresql-16-pg-integrity-checksums2.9.2d12.aarch64pigsty191.7 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_arm64.deb
postgresql-16-pg-integrity-checksums2.9.2d13.x86_64pigsty195.9 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~trixie_amd64.deb
postgresql-16-pg-integrity-checksums2.9.2d13.aarch64pigsty191.9 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~trixie_arm64.deb
postgresql-16-pg-integrity-checksums2.9.2u22.x86_64pigsty244.5 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~jammy_amd64.deb
postgresql-16-pg-integrity-checksums2.9.2u22.aarch64pigsty243.5 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~jammy_arm64.deb
postgresql-16-pg-integrity-checksums2.9.2u24.x86_64pigsty201.8 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~noble_amd64.deb
postgresql-16-pg-integrity-checksums2.9.2u24.aarch64pigsty201.9 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~noble_arm64.deb
postgresql-16-pg-integrity-checksums2.9.2u26.x86_64pigsty204.2 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~resolute_amd64.deb
postgresql-16-pg-integrity-checksums2.9.2u26.aarch64pigsty204.3 KiBpostgresql-16-pg-integrity-checksums_2.9.2-1PGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_integrity_checksums_152.9.1el8.x86_64pigsty211.3 KiBpg_integrity_checksums_15-2.9.1-1PGSTY.el8.x86_64.rpm
pg_integrity_checksums_152.9.1el8.aarch64pigsty205.4 KiBpg_integrity_checksums_15-2.9.1-1PGSTY.el8.aarch64.rpm
pg_integrity_checksums_152.9.2el9.x86_64pigsty214.9 KiBpg_integrity_checksums_15-2.9.2-1PGSTY.el9.x86_64.rpm
pg_integrity_checksums_152.9.2el9.aarch64pigsty213.8 KiBpg_integrity_checksums_15-2.9.2-1PGSTY.el9.aarch64.rpm
pg_integrity_checksums_152.9.2el10.x86_64pigsty217.8 KiBpg_integrity_checksums_15-2.9.2-1PGSTY.el10.x86_64.rpm
pg_integrity_checksums_152.9.2el10.aarch64pigsty215.7 KiBpg_integrity_checksums_15-2.9.2-1PGSTY.el10.aarch64.rpm
postgresql-15-pg-integrity-checksums2.9.2d12.x86_64pigsty196.5 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_amd64.deb
postgresql-15-pg-integrity-checksums2.9.2d12.aarch64pigsty192.3 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~bookworm_arm64.deb
postgresql-15-pg-integrity-checksums2.9.2d13.x86_64pigsty196.4 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~trixie_amd64.deb
postgresql-15-pg-integrity-checksums2.9.2d13.aarch64pigsty192.9 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~trixie_arm64.deb
postgresql-15-pg-integrity-checksums2.9.2u22.x86_64pigsty246.9 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~jammy_amd64.deb
postgresql-15-pg-integrity-checksums2.9.2u22.aarch64pigsty246.3 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~jammy_arm64.deb
postgresql-15-pg-integrity-checksums2.9.2u24.x86_64pigsty204.3 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~noble_amd64.deb
postgresql-15-pg-integrity-checksums2.9.2u24.aarch64pigsty203.7 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~noble_arm64.deb
postgresql-15-pg-integrity-checksums2.9.2u26.x86_64pigsty204.0 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~resolute_amd64.deb
postgresql-15-pg-integrity-checksums2.9.2u26.aarch64pigsty204.4 KiBpostgresql-15-pg-integrity-checksums_2.9.2-1PGSTY~resolute_arm64.deb

Source

github.com/VictorNagibator/pg_integrity_checksums

pig build pkg pg_integrity_checksums;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_integrity_checksums;		# install by package name

pig install pg_integrity_checksums -v 19;   # install for PG 19
pig install pg_integrity_checksums -v 18;   # install for PG 18
pig install pg_integrity_checksums -v 17;   # install for PG 17
pig install pg_integrity_checksums -v 16;   # install for PG 16
pig install pg_integrity_checksums -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION pg_integrity_checksums;

Usage

Sources:

pg_integrity_checksums computes physical and logical checksums for PostgreSQL pages, cells, tuples, tables, indexes and databases. This C extension supports PostgreSQL 12–19 upstream. Pigsty packages target PostgreSQL 15–19. Installation and database-wide checks require a superuser.

Install and migrate

CREATE EXTENSION pg_integrity_checksums;

Version 2.3.0 and page verification

Version 2.3.0 adds pg_page_checksum_status(regclass, integer), which compares a page’s calculated 16-bit checksum with its stored pd_checksum. The following checks remain available after the upgrade:

SHOW data_checksums;
SELECT pg_page_checksum_status('public.orders'::regclass, 0);

The relation must exist and contain the requested block. Results are ok for a match, mismatch for a difference, new for an uninitialized page, or checksums_disabled when stored page checksums are disabled. Stored-page verification requires data_checksums = on; an invalid relation or block raises an error.

pg_page_checksum() only calculates PostgreSQL’s 16-bit page checksum; it does not compare the stored value. Its result of zero can mean an uninitialized page or a calculated zero, so zero alone does not establish validity. The status function reads relation storage directly and reports the page it reads, rather than a persistent guarantee about later writes.

The FNV-1a 32/64-bit overloads introduced in 2.2.0 still return raw bytea digests alongside the legacy 32-bit SQL API. They are separate from PostgreSQL’s 16-bit page-checksum format. Changing the selected algorithm or overload requires a matching baseline; the 2.3.0 page-status addition does not itself require recomputing all existing baselines.

Migration from the old extension name

Version 2.0.0 is the renamed continuation of the earlier pg_checksums extension. PostgreSQL has no ALTER EXTENSION ... RENAME; review dependent objects, drop the old extension, create the new one, and change the GUC prefix before using the new name:

DROP EXTENSION pg_checksums;
CREATE EXTENSION pg_integrity_checksums;
SET pg_integrity_checksums.workers = 4;
SET pg_integrity_checksums.strict = on;

The old and new names cannot coexist because they define the same SQL functions. The unrelated core pg_checksums utility is a separate program.

Checksum levels

Use logical checksums for content comparison and physical checksums for storage integrity. Logical table checksums do not require a primary key, preserve duplicate rows, and exclude relation and tuple identifiers. Logical index checksums are derived from visible table rows and the index definition, so they are stable across VACUUM, CLUSTER and REINDEX.

SELECT pg_table_logical_checksum('public.orders'::regclass);
SELECT pg_index_logical_checksum('public.orders_pkey'::regclass);
SELECT pg_database_logical_checksum(false, true);

Physical checksums include storage details and can change after VACUUM FULL, CLUSTER, REINDEX or other physical rewrites. Use the page, tuple and table physical functions when those changes are relevant to the integrity baseline.

Privileges and maintenance

Relation-level functions require table-level SELECT and reject row-level-security protected relations because direct storage scans cannot apply RLS; column-only grants are insufficient. Database-level functions are superuser-only. pg_integrity_checksums.workers controls parallel scans; pg_integrity_checksums.strict makes database scans fail when a relation cannot be checked instead of skipping it. The extension does not require shared preload. Preserve a known-good baseline for the same algorithm and compatible schema, and account for physical rewrites when comparing physical checksums. These checksums are not cryptographic authentication.

Upgrade and baseline changes in 2.7.0

Install matching files, reconnect and apply the SQL upgrade:

ALTER EXTENSION pg_integrity_checksums UPDATE TO '2.7.0';
SHOW pg_integrity_checksums.strict;

Database-level logical checksums now include qualified relation names, so every database logical baseline changes even if row contents do not. Some physical index baselines also change after index metadata masking was corrected. Recompute and review these baselines; physical checksums are still sensitive to real storage changes, including row locks and rolled-back writes. A checksum difference alone does not establish data corruption.

Tuple and cell checksums now check MVCC visibility and return NULL for invisible rows. Index expressions execute as the table owner in a restricted context, and serializable scans take the required conflict locks. Page-status checks retry disk mismatches; a relation dropped during a database scan is skipped with NOTICE even in strict mode. Other unreadable relations still follow pg_integrity_checksums.strict, which defaults to on. These semantics differ from the earlier 2.6.0 masking and baseline rules.

2.9.0 Algorithms, Sequences and Baselines

ALTER EXTENSION pg_integrity_checksums UPDATE TO '2.9.0';

Version 2.9.0 adds crc32c and xxh3 to the generic algorithm functions and extends parallel workers to pg_table_bucket_checksums(). New sequence logical checksums compare a sequence’s definition with last_value and is_called; new relation-page status functions verify all pages and forks in one call.

When include_system = false, database logical and physical checksums now exclude information_schema as well as pg_catalog. Because information_schema content varies by PostgreSQL version, every non-system database checksum from an older release changes after this correction: recompute and replace those stored baselines. Table, index and sequence checksum values are not changed by this fix, and CLI baselines already excluded information_schema.

2.9.1 Scan Changes

On PostgreSQL 17+, table, index, bucket and database scans use read streams; PostgreSQL 18 can use asynchronous I/O. Parallel workers process larger ranges. Version 2.9.1 does not change checksum values. Install the matching library and apply ALTER EXTENSION pg_integrity_checksums UPDATE TO '2.9.1'; the older 2.9.0 information_schema exclusion still requires replacing affected non-system database baselines.

Version 2.9.2 and Checksum Baselines

In databases using neither UTF8 nor SQL_ASCII, logical checksums involving XML can change when the old baseline was computed with client encoding equal to server encoding. Version 2.9.2 removes that session-dependent XML serialization. UTF8 and SQL_ASCII databases are unaffected by this fix.

Physical checksums now include BRIN range-map contents and relevant legacy index-page data previously treated as unused space. Recapture physical baselines for BRIN indexes and indexes upgraded from PostgreSQL 10 or earlier, including database-level physical baselines containing them. This physical fix does not change logical checksums. Install matching files, update the extension and replace sessions loading the old library. PostgreSQL 19 is supported. Version 2.9.2 is distributed under the PostgreSQL License; earlier releases retain their original license.

Table reader