Arrange for the authentication request type to be preserved in

Joe Conway <mail@joeconway.com>

Commit: 51bc3dfe4bda37a452b0d8b70b66929fa94c4f1f
Author: Joe Conway <mail@joeconway.com>
Date: 2007-07-08T17:11:51Z
Releases: 8.3.0
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.

Files