Re: libpq URL syntax vs SQLAlchemy - Mailing list pgsql-hackers

From Robert Haas
Subject Re: libpq URL syntax vs SQLAlchemy
Date
Msg-id CA+TgmobxFMZR5bAns+eozJB2oxJxYS6-jkB4qf3tWmuust8wvg@mail.gmail.com
Whole thread Raw
In response to libpq URL syntax vs SQLAlchemy  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Wed, May 9, 2012 at 2:17 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
>    postgresql://user:password@/dbname
>
> In libpq, this is parsed as host='/dbname', no database.

That is flat wrong.

> - Requiring percent escapes

And this is, IMHO, the right fix.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Draft release notes complete
Next
From: Tom Lane
Date:
Subject: Re: checkpointer code behaving strangely on postmaster -T