So I tried with versions 49.7.5 and 49.7.6 and it works fine. Logically, the problem appears to occur starting with version 49.7.7 (https://jdbc.postgresql.org/changelogs/2025-06-11-42/).
So I tried with versions 49.7.5 and 49.7.6 and it works fine.
Logically, the problem appears to occur starting with version 49.7.7 (https://jdbc.postgresql.org/changelogs/2025-06-11-42/).
I think you meant 42.7.5, 42.7.6 and 42.7.7.
Might be interesting to try 42.7.9 which is now out: https://jdbc.postgresql.org/changelogs/2026-01-15-42/