pgsql: Reset error message at PQreset()

Поиск
Список
Период
Сортировка
Искать

pgsql: Reset error message at PQreset()

От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fcca871203568a4d34bc026029bee51e8d246ae2

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

FAQ