Hi Rob,

> On 23. Jan, 2021, at 00:02, Rob Sargent <robjsarg...@gmail.com> wrote:
> 
> I only wish I could set a default database as well, but IMHO that's a failing 
> of JDBC as much as postgres.

you can't for a role or a user. You'd have to specify the database in the jdbc 
connection string. It's all here:

https://jdbc.postgresql.org/documentation/head/connect.html

You must include a database name, and optionally a role to connect to, in the 
jdbc connection string.

Cheers,
Paul

Reply via email to