Re: SSL Certificates in Windows 7 & Postgres 9.3

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: SSL Certificates in Windows 7 & Postgres 9.3
Дата
Msg-id 1418762462596-5830993.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: SSL Certificates in Windows 7 & Postgres 9.3  (harpagornis <shenlong@runbox.com>)
Ответы Re: SSL Certificates in Windows 7 & Postgres 9.3  (harpagornis <shenlong@runbox.com>)
Список pgsql-general
harpagornis wrote
> psql dbname=dbname user=my_role sslmode=verify-full sslcert=postgresql.crt
> sslkey=postgresql.key sslrootcert=root.crt

This is a psql command with 6 input arguments/options specified

psql "dbname=dbname [...]" is a psql command with 1 input argument/option
specified which is treated as a "conninfo" string as documented at:

http://www.postgresql.org/docs/9.3/static/app-psql.html


> I wasn't sure if the question mark is supposed to precede each variable
> (sslmode, sslcert, etc.)?

You guessed wrong...admittedly the documentation assumes the reader knows
how the format of a URI...separate key=value pairs in the "query" part of
the URI (which is separated from the path by the aforementioned "?") are
separated by ";" or "&"

http://en.wikipedia.org/wiki/URI_scheme

David J.




--
View this message in context:
http://postgresql.nabble.com/SSL-Certificates-in-Windows-7-Postgres-9-3-tp5830749p5830993.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: harpagornis
Дата:
Сообщение: Re: SSL Certificates in Windows 7 & Postgres 9.3
Следующее
От: "Gabriel E. Sánchez Martínez"
Дата:
Сообщение: Re: invalid memory alloc request size