diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-07-28 14:51:57 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-07-28 14:51:57 -0400 |
commit | 6f2871f12e9fba5deec4296cfe12e85c140261c4 (patch) | |
tree | b8f7aba03bdb6d8d365d383ae63a97a364e9fcb7 /src/backend/utils/adt/jsonfuncs.c | |
parent | 95f4e59c3286671656aff7db45b322f14a7bb8cc (diff) | |
download | postgresql-6f2871f12e9fba5deec4296cfe12e85c140261c4.tar.gz postgresql-6f2871f12e9fba5deec4296cfe12e85c140261c4.zip |
Centralize decision-making about where to get a backend's PGPROC.
This code was originally written as part of parallel query effort, but
it seems to have independent value, because if we make one decision
about where to get a PGPROC when we allocate and then put it back on a
different list at backend-exit time, bad things happen. This isn't
just a theoretical risk; we fixed an actual problem of this type in
commit e280c630a87e1b8325770c6073097d109d79a00f.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions