From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix failure to remove dependencies when a partition is detached. |
Date: | 2017-06-13 15:53:03 |
Message-ID: | E1dKo7r-0001Om-Lo@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix failure to remove dependencies when a partition is detached.
Otherwise, dropping the partitioned table will automatically drop
any previously-detached children, which would be unfortunate.
Ashutosh Bapat and Rahila Syed, reviewed by Amit Langote and by me.
Discussion: http://postgr.es/m/CAFjFpRdOwHuGj45i25iLQ4QituA0uH6RuLX1h5deD4KBZJ25yg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ee252f074b88e34ff7ac2b45a73d3cee12b1c671
Modified Files
--------------
src/backend/commands/tablecmds.c | 35 ++++++++++++++++++-------------
src/test/regress/expected/alter_table.out | 13 ++++++++++++
src/test/regress/sql/alter_table.sql | 10 +++++++++
3 files changed, 44 insertions(+), 14 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-06-13 15:54:09 | pgsql: libpq: Message style improvements |
Previous Message | Peter Eisentraut | 2017-06-13 15:29:10 | pgsql: doc: Fix typo |