Open
Description
Dikshant Adhikari (dikshant) commented:
pgjdc supports specifying session variables through options param see:
https://jdbc.postgresql.org/documentation/use/
Docs:
https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
For example you can do
postgresql://user@localhost:5433/mydb?options=-c%20unbounded_parallel_scans%3Don
Relevant Slack discussion: https://cockroachlabs.slack.com/archives/CHVV403F0/p1691598835018619
Might consider adding an example here as well.
https://www.cockroachlabs.com/docs/v23.1/build-a-java-app-with-cockroachdb
Jira Issue: DOC-8539