pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feed[pgjdbc/pgjdbc] PR #3678: fix: unable to open replication connection to servers < 12
2+ messages / 2 participants
[nested] [flat]
* [pgjdbc/pgjdbc] PR #3678: fix: unable to open replication connection to servers < 12
@ 2025-06-16 07:29 "vlsi (@vlsi)" <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: vlsi (@vlsi) @ 2025-06-16 07:29 UTC (permalink / raw)
To: pgjdbc/pgjdbc <[email protected]>
pgjdbc attempted issuing SET extra_float_digits for servers of versions less than 12, while the replication protocol does not allow set ... commands.
It resulted in the following [connection failure](https://github.com/pgjdbc/pgjdbc/actions/runs/15672177908/job/44145122287?pr=3668#step:8:991):
org.postgresql.util.PSQLException: ERROR: syntax error
at app//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2736)
at app//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2421)
at app//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:372)
at app//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:330)
at app//org.postgresql.core.SetupQueryRunner.run(SetupQueryRunner.java:57)
at app//org.postgresql.core.v3.ConnectionFactoryImpl.runInitialQueries(ConnectionFactoryImpl.java:1031)
at app//org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:358)
at app//org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:57)
at app//org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:277)
at app//org.postgresql.Driver.makeConnection(Driver.java:448)
at app//org.postgresql.Driver.connect(Driver.java:298)
at platform/[email protected]/java.sql.DriverManager.getConnection(DriverManager.java:683)
at platform/[email protected]/java.sql.DriverManager.getConnection(DriverManager.java:191)
at app//org.postgresql.test.TestUtil.openDB(TestUtil.java:356)
at app//org.postgresql.test.TestUtil.openReplicationConnection(TestUtil.java:338)
at app//org.postgresql.replication.CopyBothResponseTest.setUp(CopyBothResponseTest.java:60)
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [pgjdbc/pgjdbc] PR #3678: fix: unable to open replication connection to servers < 12
@ 2025-06-16 09:27 "davecramer (@davecramer)" <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: davecramer (@davecramer) @ 2025-06-16 09:27 UTC (permalink / raw)
To: pgjdbc/pgjdbc <[email protected]>
interesting, I wonder how long that has been there.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-06-16 09:27 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-06-16 07:29 [pgjdbc/pgjdbc] PR #3678: fix: unable to open replication connection to servers < 12 "vlsi (@vlsi)" <[email protected]>
2025-06-16 09:27 Re: [pgjdbc/pgjdbc] PR #3678: fix: unable to open replication connection to servers < 12 "davecramer (@davecramer)" <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox