diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-04-08 00:46:14 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-04-08 00:46:14 -0400 |
commit | 4131f755d548f74eba56285dc674f1f26e4ed6b4 (patch) | |
tree | b71b2fe2de504b965b0473e28a695d6823525965 /src/backend/utils/adt/jsonfuncs.c | |
parent | a3027e1e7f3d3a107ecd72d3b4d6333ea2aab6a5 (diff) | |
download | postgresql-4131f755d548f74eba56285dc674f1f26e4ed6b4.tar.gz postgresql-4131f755d548f74eba56285dc674f1f26e4ed6b4.zip |
Repair find_inheritance_children with no active snapshot
When working on a scan with only a catalog snapshot, we may not have an
ActiveSnapshot set. If we were to come across a detached partition,
that would cause a crash. Fix by only ignoring detached partitions when
there's an active snapshot.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions