pgsql: Improve handling of pthread_mutex_lock error case

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Improve handling of pthread_mutex_lock error case
Дата
Msg-id E1V4ynK-0002Hf-Ms@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve handling of pthread_mutex_lock error case

We should really be reporting a useful error along with returning
a valid return code if pthread_mutex_lock() throws an error for
some reason.  Add that and back-patch to 9.0 as the prior patch.

Pointed out by Alvaro Herrera

Branch
------
REL9_0_STABLE

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

Modified Files
--------------
src/interfaces/libpq/fe-secure.c |   14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Improve handling of pthread_mutex_lock error case
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_test_fsync: expand ops/sec display