[COMMITTERS] pgsql: Allow partitioned tables to be dropped without CASCADE - Mailing list pgsql-committers

From Simon Riggs
Subject [COMMITTERS] pgsql: Allow partitioned tables to be dropped without CASCADE
Date
Msg-id E1ckpoU-0006il-It@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow partitioned tables to be dropped without CASCADE

Record partitioned table dependencies as DEPENDENCY_AUTO
rather than DEPENDENCY_NORMAL, so that DROP TABLE just works.

Remove all the tests for partitioned tables where earlier
work had deliberately avoided using CASCADE.

Amit Langote, reviewed by Ashutosh Bapat and myself

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8b4d582d279d784616c228be58af1e39aa430402

Modified Files
--------------
src/backend/commands/tablecmds.c           | 30 ++++++++++++++++++++++--------
src/test/regress/expected/alter_table.out  | 10 ++++------
src/test/regress/expected/create_table.out |  9 ++-------
src/test/regress/expected/inherit.out      | 22 ++--------------------
src/test/regress/expected/insert.out       |  7 ++-----
src/test/regress/expected/update.out       |  7 +------
src/test/regress/sql/alter_table.sql       | 10 ++++------
src/test/regress/sql/create_table.sql      |  9 ++-------
src/test/regress/sql/inherit.sql           |  4 ++--
src/test/regress/sql/insert.sql            |  7 ++-----
src/test/regress/sql/update.sql            |  2 +-
11 files changed, 44 insertions(+), 73 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: In rebuild_relation(),don't access an already-closed relcache e
Next
From: Simon Riggs
Date:
Subject: [COMMITTERS] pgsql: Reduce lock levels for table storage params related to planning