]> git.ipfire.org Git - thirdparty/postgresql.git/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:49 +0000 (15:43 -0400)
commitf019c021119c632da396894769349fa6433e91da
tree2d64de0c32ad6a6dc337ac1cef78f5a8c818cb85
parentf31016365565e03c3c698554eacc1c897fd35049
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