| From: | Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com> |
|---|---|
| To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: 8.4.4 locked after power failure |
| Date: | 2011-09-12 16:32:03 |
| Message-ID: | CAJY59_jsz+qhd74_HFimAUOvRr58q-pqDE_yoFxwZvz7xL6Xhg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
2011/9/12 Merlin Moncure <mmoncure(at)gmail(dot)com>:
>
> It seems odd that you could not create a temp sequence but you were
> able to reindex the entire database. did you confirm you were
> blocking on a non-granted lock?
I could revacuum/reindex all stuff, only if I had to do the system
catalogues first. That seemed a bit suspicious.
Also, I had to stop all other connections - because any other locked
transaction would prevent it from going on.
Oh, the last thing - pg_cancel_backend() couldn't kill the locked
backend. I had to restart the whole postgresql using -m immediate.
Odd stuff indeed, as I was hoping postgresql will clean things like
locks on recovery from crash. Never happened to me with 8.3
--
GJ
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dylan Adams | 2011-09-12 18:10:26 | Re: Index Corruption |
| Previous Message | Simon Riggs | 2011-09-12 16:19:12 | Re: Two 9.1 Questions |