diff options
author | Stephen Frost <sfrost@snowman.net> | 2013-08-01 15:42:07 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2013-08-01 15:43:40 -0400 |
commit | 820739cba95622033527f60467a264db0ee91f76 (patch) | |
tree | 408ddf6f8e90bae3eb4c4ce2ca641225e0684baa /src/backend/utils/adt/jsonfuncs.c | |
parent | 55754380f36d098551bd55dd49e27f64dd1c8d2f (diff) | |
download | postgresql-820739cba95622033527f60467a264db0ee91f76.tar.gz postgresql-820739cba95622033527f60467a264db0ee91f76.zip |
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
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions