From: | Paul Förster <paul(dot)foerster(at)gmail(dot)com> |
---|---|
To: | Rob Sargent <robjsargent(at)gmail(dot)com> |
Cc: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: localhost ssl |
Date: | 2021-01-23 09:12:35 |
Message-ID: | 772161BF-9086-496E-829A-9401506F3137@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Rob,
> On 23. Jan, 2021, at 00:02, Rob Sargent <robjsargent(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | sivapostgres@yahoo.com | 2021-01-23 12:52:43 | Re: Copy & Re-copy of DB |
Previous Message | Paul Förster | 2021-01-23 09:03:18 | Re: localhost ssl |