Search Postgresql Archives

Re: localhost ssl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rob,

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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux