Re: Should psql support URI syntax?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Should psql support URI syntax?
Дата
Msg-id 15165.1301848916@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Should psql support URI syntax?  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Should psql support URI syntax?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Well, there isn't any requirement that URIs be

> prot://hostname:port/something

> They just have to be

> prot:something

> So you could just turn the existing conninfo syntax into a URI by doing
> something like

> postgresql:dbname=foo%20hostname=bar

True, but the need for those %20's is annoying.  I tend to agree with
the suggestion that adopting the JDBC syntax would be the way to go,
assuming that we can use it 100%-as-is (any incompatibility defeats
the purpose).
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: FDW state from plan time
Следующее
От: Julia Jacobson
Дата:
Сообщение: Compiling a static libpq