Replies: 5 comments 5 replies
-
I'm not sure what showing us the C code for postmaster has to do with JDBC ? We don't do many things the same as the postmaster code. |
Beta Was this translation helpful? Give feedback.
-
Is it ok that the driver support this feature? If not, why? |
Beta Was this translation helpful? Give feedback.
-
I guess I would wonder why you want to do this? What are you trying to solve? |
Beta Was this translation helpful? Give feedback.
-
you can always set it in the code. SET idle_in_transaction_session_timeout to 60 |
Beta Was this translation helpful? Give feedback.
-
This is already implemented. You can add arbitrary backend initialization parameters via the OPTIONS connection property: Check out the "options" connection parameter for details on usage: https://jdbc.postgresql.org/documentation/head/connect.html#connection-parameters |
Beta Was this translation helpful? Give feedback.
-
In ProcessStartupPacket (postmaster.c) , all unknown param was assumed as a GUC option.
But in getParametersForStartup(ConnectionFactoryImpl.java),It seem that it never add addition custom params to startupMessage.
What is the recommend way to init guc options for a connection?
Beta Was this translation helpful? Give feedback.
All reactions