Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite08b410

Browse files
committed
Clarify that PQconninfoParse returns an array with all legal options.
Per discussion with Dmitriy Igrishin and Tom Lane.
1 parentfdf719c commite08b410

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,8 +1027,10 @@ PQconninfoOption *PQconninfoParse(const char *conninfo, char **errmsg);
10271027
</para>
10281028

10291029
<para>
1030-
Note that only options explicitly specified in the string will have
1031-
values set in the result array; no defaults are inserted.
1030+
All legal options will be present in the result array, but the
1031+
<literal>PQconninfoOption</literal> for any option not present
1032+
in the connection string will have <literal>val</literal> set to
1033+
<literal>NULL</literal>; default values are not inserted.
10321034
</para>
10331035

10341036
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp