Thread: pgsql: Reset error message at PQreset()

pgsql: Reset error message at PQreset()

From
Heikki Linnakangas
Date:
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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8f7bd8e91da321cb38f09087a4b9411277917b13

Modified Files
--------------
src/interfaces/libpq/fe-connect.c |    1 +
1 file changed, 1 insertion(+)