Re: Strange behavior: row won't delete

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange behavior: row won't delete
Date: 2009-03-03 16:17:54
Message-ID: 200903030817.54770@hal.medialogik.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 03 March 2009, Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Phoenix Kiula 2009-03-03 16:18:26 Re: Strange behavior: row won't delete
Previous Message Tom Lane 2009-03-03 16:10:41 Re: Strange behavior: row won't delete