Copy information from the relcache instead of pointing to it.
Robert Haas <rhaas@postgresql.org>
Copy information from the relcache instead of pointing to it. We have the relations continuously locked, but not open, so relcache pointers are not guaranteed to be stable. Per buildfarm member prion. Ashutosh Bapat. I fixed a typo. Discussion: http://postgr.es/m/CAFjFpRcRBqoKLZSNmRsjKr81uEP=ennvqSQaXVCCBTXvJ2rW+Q@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/partition.c | modified | +68 −0 |
| src/backend/optimizer/util/plancat.c | modified | +26 −9 |
| src/include/catalog/partition.h | modified | +2 −0 |
Discussion
- Re: Partition-wise join for join between (declaratively) partitioned tables 134 messages · 2017-08-10 → 2018-06-06