mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
DropTableSpace forgot to remove dependency on tablespace's owner.
Per report from Jaime Casanova.
This commit is contained in:
@ -37,7 +37,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/commands/tablespace.c,v 1.26 2005/07/14 21:46:29 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/commands/tablespace.c,v 1.27 2005/08/30 01:08:47 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -446,6 +446,11 @@ DropTableSpace(DropTableSpaceStmt *stmt)
|
|||||||
|
|
||||||
heap_endscan(scandesc);
|
heap_endscan(scandesc);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Remove dependency on owner.
|
||||||
|
*/
|
||||||
|
deleteSharedDependencyRecordsFor(TableSpaceRelationId, tablespaceoid);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Try to remove the physical infrastructure
|
* Try to remove the physical infrastructure
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user