summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruce Momjian2013-12-03 16:11:56 +0000
committerBruce Momjian2013-12-03 16:12:25 +0000
commit9e0a97f1c8316e36fa4a8626e0a60792b0fb0c2e (patch)
tree659c15fa695ca0fc7ccbedde530ea54ead06e2f2 /doc
parent95e3d50539afcdcd4b75b4ac5baa9f8fc05324d9 (diff)
libpq: change PQconndefaults() to ignore invalid service files
Previously missing or invalid service files returned NULL. Also fix pg_upgrade to report "out of memory" for a null return from PQconndefaults(). Patch by Steve Singer, rewritten by me
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/libpq.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 955f248b13..503a63a58b 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -483,7 +483,8 @@ typedef struct
with an entry having a null <structfield>keyword</> pointer. The
null pointer is returned if memory could not be allocated. Note that
the current default values (<structfield>val</structfield> fields)
- will depend on environment variables and other context. Callers
+ will depend on environment variables and other context. A
+ missing or invalid service file will be silently ignored. Callers
must treat the connection options data as read-only.
</para>