]> 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:43:46 +0000 (15:43 -0400)
commit71127756af12ed64da9e82639f88b6ed13e5f600
tree7f9ac57a2cfbc9ffa034e32b33034369a479edd9
parent0b821b8d7c137fbec215f8da286b4a40e53b13d5
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