Re: Strange behavior: row won't delete

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: Strange behavior: row won't delete
Дата
Msg-id 200903030817.54770@hal.medialogik.com
обсуждение исходный текст
Ответ на Strange behavior: row won't delete  (Phoenix Kiula <phoenix.kiula@gmail.com>)
Ответы Re: Strange behavior: row won't delete  (Phoenix Kiula <phoenix.kiula@gmail.com>)
Список pgsql-general
On Tuesday 03 March 2009, Phoenix Kiula <phoenix.kiula@gmail.com> wrote:
> HI. I made a small alteration to a table (added a column).
>
> Now when I do:
>
>   vacuum analyze TABLENAME
>
> or
>
>   delete from TABLENAME where id = 99
>
> Nothing happens! The carriage return means the my shell cursor goes to
> the next line, but it just stays there. I thought something may be
> happening silently but it has been sitting this way since an hour.
>
> How can I debug this? Nothing in the logs at all.

commit the transaction where you altered the table. It has an open lock on
the table.

--
Even a sixth-grader can figure out that you can’t borrow money to pay off
your debt

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Strange behavior: row won't delete
Следующее
От: Phoenix Kiula
Дата:
Сообщение: Re: Strange behavior: row won't delete