Repository navigation
Description
Problem
SECURITY.md says the 10.x LTS line targets PostgreSQL 14+. Nothing below 16 has ever been tested. The pre-tag gate (#179) ran both integration projects on origin/main 3ce68d9 against 14, 15, 16 and 18, swapping only the shared container's image (CI runs 17 only):
| Server | Main integration project | Infinity-disabled project |
|---|---|---|
| 14 | 51 failures | 4/4 |
| 15 | 49 failures | 4/4 |
| 16 | 28 failures (#216) | 4/4 |
| 18 | 256/256 | 4/4 |
On 14 and 15:
- The literal-parity oracle cannot run.
LiteralCorpusProbeTestsandLiteralGrammarParityTestsask the server throughpg_input_is_valid, which PostgreSQL added in 16 (42883: function pg_input_is_valid(text, unknown) does not exist). Every type reads "only 0 literals were read by both sides". So "reads the literal as PostgreSQL reads it" was only ever measured on 16 and later. - RangeAgg and RangeIntersectAgg over a sequence of RangeSet (range_agg / range_intersect_agg on multiranges) #93's
RangeAggover a multirange column fails on 14:42883: function range_agg(int4multirange) does not exist. It is loud, not wrong, and appears in both*MultirangeAggregates_EverySubsetOfInputs_AgreeWithPostgrestests. - On 14 and 15 the library is also looser than the server for Integer literals refuse the 0x/0o/0b and digit-separator forms PostgreSQL 16+ reads #127's
0x/0o/0band digit separators, which PostgreSQL reads only from 16.
PostgreSQL 14 stops receiving fixes on 2026-11-12 (postgresql.org). 15 ends in November 2027 under the five-year policy. 16 is supported until 2028-11-09, which is when the .NET 10 LTS line ends.
Decision (maintainer, 2026-10-18)
The 10.x floor is PostgreSQL 16, the same as 11.x. Dropping 14/15 belongs in this major and in the 10.0.0 changelog's "what can break you" list.
Change
- SECURITY.md, CONTRIBUTING.md, README(s), docs: state 16+ for 10.x wherever a floor is stated. Facts about when PostgreSQL added something ("PostgreSQL 14+ auto-creates timemultirange") stay as facts. Wherever a convention test reads the table, it follows.
docs/migration.mdv9.x section and the root changelog: the floor change, with the reason.- CI: integration legs on 16 (the floor) and 18 (newest), so the floor is tested on every PR. Make the shared container's image configurable (one environment variable read by both
ContainerLifecycle.csfiles, defaulting to the floor), and leave tests that start their own versioned servers (ComplexIndexesCrossTests,LiteralGrammarParityTests) unchanged. This is the 10 line's half of CI matrix for two lines: .NET 10 and 11 SDKs, PostgreSQL floor and 18 legs per line #152. - Optional: a test-side guard that reports the server version and fails loudly below the floor, instead of producing 0-literal sweeps.
Done when
Every stated floor says 16, CI runs both integration projects on 16 and 18 and is green on both, and the changelog and migration guide say so.
Activity