]> 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:40 +0000 (15:43 -0400)
commit820739cba95622033527f60467a264db0ee91f76
tree408ddf6f8e90bae3eb4c4ce2ca641225e0684baa
parent55754380f36d098551bd55dd49e27f64dd1c8d2f
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