Invalid parent's relcache after CREATE TABLE .. PARTITION OF.
Robert Haas <rhaas@postgresql.org>
Invalid parent's relcache after CREATE TABLE .. PARTITION OF. Otherwise, subsequent commands in the same transaction see the wrong partition descriptor. Amit Langote. Reported by Tomas Vondra and David Fetter. Reviewed by me. Discussion: http://postgr.es/m/22dd313b-d7fd-22b5-0787-654845c8f849%402ndquadrant.com Discussion: http://postgr.es/m/20161215090916.GB20659%40fetter.org
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/heap.c | modified | +6 −1 |
| src/backend/commands/tablecmds.c | modified | +4 −9 |
| src/include/catalog/heap.h | modified | +1 −1 |
Discussion
- Declarative partitioning - another take 323 messages · 2016-08-10 → 2017-06-29
- Transaction oddity with list partition of a list partition 4 messages · 2016-12-15