Re: How would I "close" a atble?

Поиск
Список
Период
Сортировка
От Tena Sakai
Тема Re: How would I "close" a atble?
Дата
Msg-id FE44E0D7EAD2ED4BB2165071DB8E328C03062E33@egcrc-ex01.egcrc.org
обсуждение исходный текст
Ответ на How would I "close" a atble?  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
Список pgsql-admin

Hi Tom,

Here it is!

     locktype    | relation | transactionid | transaction |        mode         |   pid  | granted
  ---------------+----------+---------------+-------------+---------------------+--------+---------
   relation      |    16496 |               |   147195029 | AccessShareLock     |  22833 | t

I kept looking at the ones I emailed to you which
omitted a few rows from the bottom.  That was dumb!

I issued "kill -INT 22833" and in a few minutes
pg_locks view shrunk to 2 rows from 41 rows.

Many thanks for following up with this problem.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu


-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Mon 12/17/2007 10:43 PM
To: Tena Sakai
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] How would I "close" a atble?

"Tena Sakai" <tsakai@gallo.ucsf.edu> writes:
>> What you have not shown us is what transaction has
>> actually *got* a lock on 16496.

> Would you mind enlightening me as to how I can do so?

Are there no other rows in pg_locks that reference relation 16496?
None of the ones you showed us had granted=t, but there must be one
unless things are much more broken than I think.

                        regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How would I "close" a atble?
Следующее
От: DJ Pichay
Дата:
Сообщение: Querying