summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/exports.txt
diff options
context:
space:
mode:
authorTom Lane2007-12-09 19:01:40 +0000
committerTom Lane2007-12-09 19:01:40 +0000
commit4f9bf7fc5a1fcc3b1beac9b2e1d2e693ae7bd796 (patch)
treedbc4b337965401ee7fd8c9598f98e4e7e5ba2f8f /src/interfaces/libpq/exports.txt
parentcb1ab30fdc3b44a7d34ccf9cdaa82d46dd6427c1 (diff)
Fix up the PQconnectionUsedPassword mess: create a separate
PQconnectionNeedsPassword function that tells the right thing for whether to prompt for a password, and improve PQconnectionUsedPassword so that it checks whether the password used by the connection was actually supplied as a connection argument, instead of coming from environment or a password file. Per bug report from Mark Cave-Ayland and subsequent discussion.
Diffstat (limited to 'src/interfaces/libpq/exports.txt')
-rw-r--r--src/interfaces/libpq/exports.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt
index 222a6595b43..2b7b8fe94b7 100644
--- a/src/interfaces/libpq/exports.txt
+++ b/src/interfaces/libpq/exports.txt
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/interfaces/libpq/exports.txt,v 1.17 2007/10/13 20:18:41 tgl Exp $
+# $PostgreSQL: pgsql/src/interfaces/libpq/exports.txt,v 1.18 2007/12/09 19:01:40 tgl Exp $
# Functions to be exported by libpq DLLs
PQconnectdb 1
PQsetdbLogin 2
@@ -139,3 +139,4 @@ PQsendDescribePortal 136
lo_truncate 137
PQconnectionUsedPassword 138
pg_valid_server_encoding_id 139
+PQconnectionNeedsPassword 140