pgsql: Minor robustness improvements for isolationtester.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Minor robustness improvements for isolationtester.
Дата
Msg-id E1UNCJ7-0007JT-7X@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Minor robustness improvements for isolationtester.

Notice and complain about PQcancel() failures.  Also, don't dump core if
an error PGresult doesn't contain severity and message subfields, as it
might not if it was generated by libpq itself.  (We have a longstanding
TODO item to improve that, but in the meantime isolationtester had better
cope.)

I tripped across the latter item while investigating a trouble report on
buildfarm member spoonbill.  As for the former, there's no evidence that
PQcancel failure is actually involved in spoonbill's problem, but it still
seems like a bad idea to ignore an error return code.

Branch
------
REL9_2_STABLE

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

Modified Files
--------------
src/test/isolation/isolationtester.c |   31 ++++++++++++++++++++++---------
1 files changed, 22 insertions(+), 9 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Update release notes for 9.2.4, 9.1.9, 9.0.13, 8.4.17.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Stamp 8.4.17.