4 Commits
Author SHA1 Message Date
CI c88987b266 Bump version to 0.4.0-RC.2 [skip ci] 2026-11-10 15:54:28 +00:00
james.maes 388b72bd40 Merge pull request 'fix(postgres): accept full_page_writes = off on Amazon Aurora PostgreSQL only (release/0.4)' (#10) from fix/aurora-full-page-writes-0.4 into release/0.4
maven / build (push) Successful in 23m21s
build / maven (push) Successful in 23m21s
2026-11-10 15:31:18 +00:00
james.maesandClaude Fable 5.2 3eb120a823 fix(postgres): accept full_page_writes = off on Amazon Aurora PostgreSQL only
maven / build (push) Successful in 16m46s
build / maven (push) Successful in 16m46s
RecordFilesPostgres refused every Amazon Aurora PostgreSQL database: Aurora
reports full_page_writes = off (measured on engine 17.9) and the parameter is
not in the cluster parameter group, so it cannot be changed. Its storage layer
does not write torn pages, so the protection that setting gives stock
PostgreSQL is not needed there.

The settings query now carries a twelfth column,
to_regprocedure('aurora_version()') IS NOT NULL, which is true on Aurora and
false on stock PostgreSQL without raising. full_page_writes = off is accepted
only when that column is true. Stock PostgreSQL with full_page_writes = off is
still refused, and fsync, synchronous_commit, the writable primary, version,
UTC, READ COMMITTED, the lock_timeout bound and every owner-table check are
unchanged on both.

Tests: PostgresDurabilityRuleTest (pure rule, every build) and
PostgresAuroraQualificationTest (opt-in, real PostgreSQL 17, Aurora simulated
by a test-only aurora_version() function and ALTER SYSTEM full_page_writes).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 09:11:47 -06:00
CI f3e814d739 Bump version to 0.4.0-RC.1 [skip ci] 2026-11-07 18:57:33 +00:00
+1 -1
View File
@@ -18,7 +18,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<revision>0.5.0-SNAPSHOT</revision>
<revision>0.4.0-RC.2</revision>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<jacoco.version>0.8.15</jacoco.version>