Re: psql commandline conninfo

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: psql commandline conninfo
Дата
Msg-id 20061212225229.GD10037@svana.org
обсуждение исходный текст
Ответ на Re: psql commandline conninfo  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: psql commandline conninfo  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Dec 12, 2006 at 05:44:07PM -0500, Andrew Dunstan wrote:
> Now I look at fe-connect.c more closely, I'm tempted just to try parsing
> the dbname param as a conninfo string, and if it doesn't work fall back
> on a plain dbname. I could greatly reduce the chance of following the
> failure path by just looking for an = but I think anything more is
> likely to be redundant.

Does that mean that:

psql -d "service=myservice"

should Just Work(tm)? That would be nice.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: psql commandline conninfo
Следующее
От: Tom Lane
Дата:
Сообщение: Better management of mergejoinable operators