Re: Notes on implementing URI syntax for libpq

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alexander Shulgin <ash(at)commandprompt(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Notes on implementing URI syntax for libpq
Date: 2011-11-24 11:57:17
Message-ID: C80ACCC0-1416-4A7A-B7D1-E10836B5D4BB@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Nov 24, 2011, at 1:57 AM, Alexander Shulgin <ash(at)commandprompt(dot)com> wrote:
> While it is really tempting to provide support for all that fancy stuff (or at least support "user:password(at)host" part instead of the ugly "?user=&password=") this will make psql URIs backward-incompatible with the JDBC syntax, which is exactly what we want to avoid.

I think it would be really weird not to support user:pw(at)host:port. You can presumably also support the JDBC style for backward compatibility, but I don't think we should adopt that syntax as project standard.

...Robert

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Shulgin 2011-11-24 12:33:41 Re: Notes on implementing URI syntax for libpq
Previous Message Pavel Stehule 2011-11-24 11:38:17 Re: Making TEXT NUL-transparent