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

Re: Add PGURI env var for passing connection string to psql in Docker

2020-02-20 Thread Michael Leonhard
RI and PGURIFILE env vars. What do you think? -Michael On Thu, Feb 20, 2020 at 12:20 PM Tom Lane wrote: > > Michael Leonhard writes: > > I need to pass a connection string to psql inside Docker [2]. I can > > pass it as a process argument, but this exposes the password to other

Add PGURI env var for passing connection string to psql in Docker

2020-02-20 Thread Michael Leonhard
Hi PostgreSQL Hackers, Please forgive me if this is not the preferred place to suggest a new feature. I found that a lot of items in the psql TODO list [1] were posted to this email list. I need to pass a connection string to psql inside Docker [2]. I can pass it as a process argument, but this