diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-05-06 12:47:30 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-05-06 12:47:30 -0400 |
commit | 3fe773b149755977d2ffde2afd89557b39d0afd9 (patch) | |
tree | 1f3685487291a4d1d6cf78766e2c5553b4fb4721 /src/backend/parser/parse_utilcmd.c | |
parent | c38cadc0907a8d071b043b2b32b83efa09db38ea (diff) | |
download | postgresql-3fe773b149755977d2ffde2afd89557b39d0afd9.tar.gz postgresql-3fe773b149755977d2ffde2afd89557b39d0afd9.zip |
Track detached partitions more accurately in partdescs
In d6b8d29419df I (Álvaro) was sloppy about recording whether a
partition descripor does or does not include detached partitions, when
the snapshot checking does not see the pg_inherits row marked detached.
In that case no partition was omitted, yet in the relcache entry we were
saving the partdesc as omitting partitions. Flip that (so we save it as
a partdesc not omitting partitions, which indeed it doesn't), which
hopefully makes the code easier to reason about.
Author: Amit Langote <amitlangote09@gmail.com>
Discussion: https://postgr.es/m/CA+HiwqE7GxGU4VdzwZzfiz+Ont5SsopoFkgtrZGEdPqWRL+biA@mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions