Reset error message at PQreset()

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 49ef4eba20b606f0b30084492e45ed25ece928e4
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2014-10-29T12:35:39Z
Releases: 9.0.19
Reset error message at PQreset()

If you call PQreset() repeatedly, and the connection cannot be
re-established, the error messages from the failed connection attempts
kept accumulating in the error string.

Fixes bug #11455 reported by Caleb Epstein. Backpatch to all supported
versions.

Files

PathChange+/−
src/interfaces/libpq/fe-connect.c modified +1 −0