projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8227a
)
DropTableSpace forgot to remove dependency on tablespace's owner.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 30 Aug 2005 01:08:47 +0000
(
01:08
+0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 30 Aug 2005 01:08:47 +0000
(
01:08
+0000)
Per report from Jaime Casanova.
src/backend/commands/tablespace.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/tablespace.c
b/src/backend/commands/tablespace.c
index 6297d0de333f00fe83acfb4740b43c6eb027d26a..68292711f26f33aadb7e6854b24d0cc2b62fe383 100644
(file)
--- a/
src/backend/commands/tablespace.c
+++ b/
src/backend/commands/tablespace.c
@@
-446,6
+446,11
@@
DropTableSpace(DropTableSpaceStmt *stmt)
heap_endscan(scandesc);
+ /*
+ * Remove dependency on owner.
+ */
+ deleteSharedDependencyRecordsFor(TableSpaceRelationId, tablespaceoid);
+
/*
* Try to remove the physical infrastructure
*/