projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdf719c
)
Clarify that PQconninfoParse returns an array with all legal options.
author
Robert Haas
<rhaas@postgresql.org>
Fri, 23 Mar 2012 02:09:20 +0000
(22:09 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 23 Mar 2012 02:09:20 +0000
(22:09 -0400)
Per discussion with Dmitriy Igrishin and Tom Lane.
doc/src/sgml/libpq.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/libpq.sgml
b/doc/src/sgml/libpq.sgml
index 72c93845bebdb5603c3956dd3bfefdbe7c6d2112..96064bbb0de8cdb0ad3bd52f35c7d845038acf1f 100644
(file)
--- a/
doc/src/sgml/libpq.sgml
+++ b/
doc/src/sgml/libpq.sgml
@@
-1027,8
+1027,10
@@
PQconninfoOption *PQconninfoParse(const char *conninfo, char **errmsg);
</para>
<para>
- Note that only options explicitly specified in the string will have
- values set in the result array; no defaults are inserted.
+ All legal options will be present in the result array, but the
+ <literal>PQconninfoOption</literal> for any option not present
+ in the connection string will have <literal>val</literal> set to
+ <literal>NULL</literal>; default values are not inserted.
</para>
<para>