[COMMITTERS] pgsql: Clear auth context correctly when re-connecting after failed aut

2017-06-07 Thread Heikki Linnakangas
Clear auth context correctly when re-connecting after failed auth attempt. If authentication over an SSL connection fails, with sslmode=prefer, libpq will reconnect without SSL and retry. However, we did not clear the variables related to GSS, SSPI, and SASL authentication state, when reconnecting

[COMMITTERS] pgsql: Clear auth context correctly when re-connecting after failed aut

2017-06-07 Thread Heikki Linnakangas
Clear auth context correctly when re-connecting after failed auth attempt. If authentication over an SSL connection fails, with sslmode=prefer, libpq will reconnect without SSL and retry. However, we did not clear the variables related to GSS, SSPI, and SASL authentication state, when reconnecting

[COMMITTERS] pgsql: Clear auth context correctly when re-connecting after failed aut

2017-06-07 Thread Heikki Linnakangas
Clear auth context correctly when re-connecting after failed auth attempt. If authentication over an SSL connection fails, with sslmode=prefer, libpq will reconnect without SSL and retry. However, we did not clear the variables related to GSS, SSPI, and SASL authentication state, when reconnecting

[COMMITTERS] pgsql: Clear auth context correctly when re-connecting after failed aut

2017-06-07 Thread Heikki Linnakangas
Clear auth context correctly when re-connecting after failed auth attempt. If authentication over an SSL connection fails, with sslmode=prefer, libpq will reconnect without SSL and retry. However, we did not clear the variables related to GSS, SSPI, and SASL authentication state, when reconnecting

[COMMITTERS] pgsql: Clear auth context correctly when re-connecting after failed aut

2017-06-07 Thread Heikki Linnakangas
Clear auth context correctly when re-connecting after failed auth attempt. If authentication over an SSL connection fails, with sslmode=prefer, libpq will reconnect without SSL and retry. However, we did not clear the variables related to GSS, SSPI, and SASL authentication state, when reconnecting