Re: Make java client lib accept same connection strings as psql

2020-02-24 Thread Oleksandr Shulgin
On Sat, Feb 22, 2020 at 4:05 AM David G. Johnston < david.g.johns...@gmail.com> wrote: > On Fri, Feb 21, 2020 at 6:21 PM Michael Leonhard > wrote: > >> How about making the Java client library accept the same connection >> strings as psql and other command-line tools? [...] >> > > That falls out

Re: Make java client lib accept same connection strings as psql

2020-02-21 Thread David G. Johnston
On Fri, Feb 21, 2020 at 6:21 PM Michael Leonhard wrote: > How about making the Java client library accept the same connection > strings as psql and other command-line tools? That would make > PostgreSQL easier to use and increase its popularity. > That falls outside the scope of this list/proje

Make java client lib accept same connection strings as psql

2020-02-21 Thread Michael Leonhard
Hi PostgreSQL Hackers, I've run into something confusing. The psql command accepts connection strings of the form: postgresql://user1:pass1@localhost:5432/db1?sslmode=require But passing this string to the java client library (with a "jdbc:" prefix) fails. See the exception and stack trace belo