Reputation: 7
I am not able to drop old partition tables in a postgresql 8.4.4 live db. My drop statement hangs with a access share lock on those partition tables. Is there any way I can drop those tables?
Upvotes: 0
Views: 1364
Reputation: 16417
Have you tried this first?
ALTER TABLE ONLY <child_table> NO INHERIT <parent_table>
Upvotes: 1