Re: Cannot DROP while process running

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cannot DROP while process running
Дата
Msg-id 12479.1334002135@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Cannot DROP while process running  (Steve Horn <steve@stevehorn.cc>)
Ответы Re: Cannot DROP while process running  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Список pgsql-novice
Steve Horn <steve@stevehorn.cc> writes:
> When I issue the drop command for a table, the server doesn't respond - not
> even with increased disk activity or CPU usage. I am wondering if a lock is
> blocking it?

Look into pg_locks to find out.

> When I select from pg_stat_activity the table I am intending
> on dropping is not listed as having anything actively using it.

Perhaps it has a foreign key link to/from something that's in use?

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Steve Horn
Дата:
Сообщение: Re: Cannot DROP while process running
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Cannot DROP while process running