[COMMITTERS] pgsql: Invalid parent's relcache after CREATE TABLE .. PARTITION OF. - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Invalid parent's relcache after CREATE TABLE .. PARTITION OF.
Date
Msg-id E1cJBXI-0002oy-UR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7cd0fd655d681e0ed5f7269fa421d977f1df0889

Modified Files
--------------
src/backend/catalog/heap.c       |  7 ++++++-
src/backend/commands/tablecmds.c | 13 ++++---------
src/include/catalog/heap.h       |  2 +-
3 files changed, 11 insertions(+), 11 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Provide a DSA area for all parallel queries.
Next
From: Heikki Linnakangas
Date:
Subject: [COMMITTERS] pgsql: Fix sharing Agg transition state of DISTINCT or ordered aggs.