Re: libpq URL syntax vs SQLAlchemy

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq URL syntax vs SQLAlchemy
Date: 2012-05-10 06:01:29
Message-ID: CA+TgmobxFMZR5bAns+eozJB2oxJxYS6-jkB4qf3tWmuust8wvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 9, 2012 at 2:17 PM, Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-05-10 06:27:32 Re: checkpointer code behaving strangely on postmaster -T
Previous Message Robert Haas 2012-05-10 05:56:33 Re: Draft release notes complete