diff options
author | Joe Conway <mail@joeconway.com> | 2007-07-08 17:11:51 +0000 |
---|---|---|
committer | Joe Conway <mail@joeconway.com> | 2007-07-08 17:11:51 +0000 |
commit | 51bc3dfe4bda37a452b0d8b70b66929fa94c4f1f (patch) | |
tree | 3027376eb362cedba1a795cbf3452fb2f4cc7893 /src/backend/tcop/postgres.c | |
parent | 8c69d881cea15b9c9a887a9d425c234d4ce71d8d (diff) | |
download | postgresql-51bc3dfe4bda37a452b0d8b70b66929fa94c4f1f.tar.gz postgresql-51bc3dfe4bda37a452b0d8b70b66929fa94c4f1f.zip |
Arrange for the authentication request type to be preserved in
PGconn. Invent a new libpq connection-status function,
PQconnectionUsedPassword() that returns true if the server
demanded a password during authentication, false otherwise.
This may be useful to clients in general, but is immediately
useful to help plug a privilege escalation path in dblink.
Per list discussion and design proposed by Tom Lane.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions