]> granicus.if.org Git - postgresql/commit
Improve handling of pthread_mutex_lock error case
authorStephen Frost <sfrost@snowman.net>
Thu, 1 Aug 2013 19:42:07 +0000 (15:42 -0400)
committerStephen Frost <sfrost@snowman.net>
Thu, 1 Aug 2013 19:42:07 +0000 (15:42 -0400)
commit8359ed806f3300b79f110f1ac216c58c0732d05c
treed18a033d0e7135088c758326e9b23c4a68f82bd6
parentf31c149f13e4495051e014bab6fbe5e8ec4f56f1
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
src/interfaces/libpq/fe-secure.c