summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorRobert Haas2017-08-17 19:39:17 +0000
committerRobert Haas2017-08-17 19:43:09 +0000
commit54cde0c4c05807321d3f4bf96a97c376e3fa91cb (patch)
tree05581287ba6ec8092fca658e97a233563e2446aa /src/backend/utils/adt/json.c
parentecfe59e50fb8316ab7fc653419cd724c8b7a7dd7 (diff)
Don't lock tables in RelationGetPartitionDispatchInfo.
Instead, lock them in the caller using find_all_inheritors so that they get locked in the standard order, minimizing deadlock risks. Also in RelationGetPartitionDispatchInfo, avoid opening tables which are not partitioned; there's no need. Amit Langote, reviewed by Ashutosh Bapat and Amit Khandekar Discussion: http://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions