pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
[pgjdbc/pgjdbc] issue #3679: Is pgjdbc support target_session_attrs property in the jdbc url connection string ?
2+ messages / 1 participants
[nested] [flat]

* [pgjdbc/pgjdbc] issue #3679: Is pgjdbc support target_session_attrs property in the jdbc url connection string ?
@ 2025-06-16 07:35 "xtay573269555 (@xtay573269555)" <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: xtay573269555 (@xtay573269555) @ 2025-06-16 07:35 UTC (permalink / raw)
  To: pgjdbc/pgjdbc <[email protected]>

Is pgjdbc support `target_session_attrs` property in the jdbc url connection string ?

I wrote a pure java program to test target_session_attrs property, and found the program did not connect to the primary node without any error or warning message like "Unsupported parameter".

I would like to confirm whether pgjdbc supports this property. In addtion, if it is not currently supported, could you consider supporting this property, as it would greatly facilitate users in connecting to their desired nodes in a replication architecture ?


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgjdbc/pgjdbc] issue #3679: Is pgjdbc support target_session_attrs property in the jdbc url connection string ?
@ 2025-06-16 08:51 "xtay573269555 (@xtay573269555)" <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: xtay573269555 (@xtay573269555) @ 2025-06-16 08:51 UTC (permalink / raw)
  To: pgjdbc/pgjdbc <[email protected]>

`target_session_attrs` is the property in [libq](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-TARGET-SESSION-ATTRS). I find the `targetServerType` property [here](https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/PGProperty.java#L77...) in pgjdbc.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-06-16 08:51 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:35 [pgjdbc/pgjdbc] issue #3679: Is pgjdbc support target_session_attrs property in the jdbc url connection string ? "xtay573269555 (@xtay573269555)" <[email protected]>
2025-06-16 08:51 Re: [pgjdbc/pgjdbc] issue #3679: Is pgjdbc support target_session_attrs property in the jdbc url connection string ? "xtay573269555 (@xtay573269555)" <[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