diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-22 14:21:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-22 14:21:44 +0000 |
commit | c52aab5525c13a3d378cd09f4187844ce697a948 (patch) | |
tree | 7e64980137d731821249b4bdcea23682a1725a79 /src/interfaces/libpq/libpq-int.h | |
parent | cae7ad906a0337120afe856b0a76b03b8ffc7440 (diff) | |
download | postgresql-c52aab5525c13a3d378cd09f4187844ce697a948.tar.gz postgresql-c52aab5525c13a3d378cd09f4187844ce697a948.zip |
Get rid of pgpass_from_client tracking inside libpq --- given the conclusion
that presence of the password in the conninfo string must be checked *before*
risking a connection attempt, there is no point in checking it afterwards.
This makes the specification of PQconnectionUsedPassword() a bit simpler
and perhaps more generally useful, too.
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r-- | src/interfaces/libpq/libpq-int.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index b29057bde95..9702c616820 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.133 2008/09/19 16:40:40 tgl Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.134 2008/09/22 14:21:44 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -290,7 +290,6 @@ struct pg_conn char *dbName; /* database name */ char *pguser; /* Postgres username and password, if any */ char *pgpass; - bool pgpass_from_client; /* did password come from connect args? */ char *sslmode; /* SSL mode (require,prefer,allow,disable) */ #if defined(KRB5) || defined(ENABLE_GSS) || defined(ENABLE_SSPI) char *krbsrvname; /* Kerberos service name */ |