Re: WIP: URI connection string support for libpq

Поиск
Список
Период
Сортировка
От Cédric Villemain
Тема Re: WIP: URI connection string support for libpq
Дата
Msg-id 201202252113.35368.cedric@2ndquadrant.com
обсуждение исходный текст
Ответ на WIP: URI connection string support for libpq  (Alexander Shulgin <ash@commandprompt.com>)
Список pgsql-hackers
Le vendredi 24 février 2012 14:18:44, Florian Weimer a écrit :
> * Alex Shulgin:
> >> It's ugly, but it's standard practice, and seems better than a separate
> >> -d parameter (which sort of defeats the purpose of URIs).
> >
> > Hm, do you see anything what's wrong with "?dbname=other" if you don't
> > like a separate -d?
>
> It's not nice URI syntax, but it's better than an out-of-band mechanism.

I've not followed all the mails about this feature but I don't find it is a
nice syntax too.

"?dbname=other" looks like dbname is an argument, but dbname is a requirement
for postgresql connexion.


--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: CLOG contention, part 2
Следующее
От: Cédric Villemain
Дата:
Сообщение: Re: VACUUM ANALYZE is faster than ANALYZE?