| От | Tom Lane |
|---|---|
| Тема | Re: C API, PQconnectdb and options Q. |
| Дата | |
| Msg-id | 21060.1063249445@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | C API, PQconnectdb and options Q. ("D. Stimits" <stimits@comcast.net>) |
| Список | pgsql-general |
"D. Stimits" <stimits@comcast.net> writes:
> What I am wonder is (a) how to
> use the tty= in the string passed to PQconnectdb, and (b) a reference
> URL for what options are available in the options= part of the string
> parameters accepted by PQconnectdb.
tty= is a dead option; it was disabled years ago on security grounds.
I'd suggest enabling query logging so you can see in the postmaster log
exactly what query string got sent by your application. The options=
string is included in the command line options for the "postgres"
backend process --- the useful part of this is
-c parametervariable=value
which is pretty nearly equivalent to doing a SET parametervariable=value
after connecting.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера