Re: localhost ssl - Mailing list pgsql-general

From Paul Förster
Subject Re: localhost ssl
Date
Msg-id 772161BF-9086-496E-829A-9401506F3137@gmail.com
Whole thread Raw
In response to Re: localhost ssl  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-general
Hi Rob,

> On 23. Jan, 2021, at 00:02, Rob Sargent <robjsargent@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


pgsql-general by date:

Previous
From: Paul Förster
Date:
Subject: Re: localhost ssl
Next
From: "sivapostgres@yahoo.com"
Date:
Subject: Re: Copy & Re-copy of DB