Clarify that PQconninfoParse returns an array with all legal options.
authorRobert Haas
Fri, 23 Mar 2012 02:09:20 +0000 (22:09 -0400)
committerRobert Haas
Fri, 23 Mar 2012 02:09:20 +0000 (22:09 -0400)
Per discussion with Dmitriy Igrishin and Tom Lane.

doc/src/sgml/libpq.sgml

index 72c93845bebdb5603c3956dd3bfefdbe7c6d2112..96064bbb0de8cdb0ad3bd52f35c7d845038acf1f 100644 (file)
@@ -1027,8 +1027,10 @@ PQconninfoOption *PQconninfoParse(const char *conninfo, char **errmsg);
       
 
       
-       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
+       PQconninfoOption for any option not present
+       in the connection string will have val set to
+       NULL; default values are not inserted.