Rails Daily

Rails Daily: PostgreSQL Version Updates and Test Fixes

Two pull requests were merged today addressing PostgreSQL version requirements and a test case guard fix. The changes update documentation and code to reflect PostgreSQL 9.5 as the minimum required version.

Duration: PT1M21S

https://podlog.io/listen/rails-daily-a67c65cf/episode/rails-daily-postgresql-version-updates-and-test-fixes-f48af38b

Transcript

Good morning, this is Rails Daily for March 4th, 2026.

Toy merged a pull request updating PostgreSQL version requirements throughout the Rails codebase. The changes address the fact that the array_position function, which was added in a previous commit, requires PostgreSQL 9.5 or later. The pull request updates version checks in the PostgreSQL adapter, modifies documentation in the Active Record PostgreSQL guide and command line guide, and adjusts the PostgreSQL database template. This resolves issue 55654 and ensures compatibility requirements are properly documented.

Zenspider merged a fix for a guard condition around ActiveSupport TestCase run_order. The one-line change corrects a guard that was identified by contributor vlad-pisanov. This appears to be related to Minitest 6 compatibility based on the commit reference.

Both merges were also reflected in additional commits by Jean Boussier and Guillermo Iguaran respectively, completing the integration of these changes into the main branch.

What's next: The PostgreSQL version requirement update may prompt teams to verify their database versions meet the new minimum. The test case fix should improve reliability for projects using newer Minitest versions.

That's your Rails update for today. Back tomorrow with more from the Rails repository.