PQconninfoParse()

Поиск
Список
Период
Сортировка
От Dmitriy Igrishin
Тема PQconninfoParse()
Дата
Msg-id CAAfz9KOvO3Ef7FL8TbQCWXT52EN1xo29nAsqDXxyoazZ5uOj8A@mail.gmail.com
обсуждение исходный текст
Ответы Re: PQconninfoParse()  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-docs
Hey,

I suggest to clarify the documentation of PQconninfoParse().

First,
"Returns parsed connection options from the provided connection string."
Its false. The returned array contains all options, rather than which only
parsed from the provided connection string. This fact must be specified in
the documentation becase the name of the function mismatches its behaviour.

Second,
"Note that only options explicitly specified in the string will have values set
in the result array; no defaults are inserted."
Its true. But instead of "no defaults are inserted" I suggest "values of other
options will have NULL values."

--
// Dmitriy.


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Document DELETE/UPDATE command tag vs triggers
Следующее
От: Ray Stell
Дата:
Сообщение: Re: [pgsql-docs] Daily digest v1.1511 (3 messages)