Re: Seeing locks (was Status of gist locking in 8.1.3)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Seeing locks (was Status of gist locking in 8.1.3)
Дата
Msg-id 24547.1149005738@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Seeing locks (was Status of gist locking in 8.1.3)  (Francisco Reyes <lists@stringsutils.com>)
Список pgsql-general
Francisco Reyes <lists@stringsutils.com> writes:
> The two records I always see are:
>    locktype    |....|      mode       | granted
> ---------------+....+-----------------+---------
>  transactionid |....| ExclusiveLock   | t
>  relation      |....| AccessShareLock | t

That would be your own transaction's lock on its own XID, and its share
lock on the pg_locks view.  Joining to pg_database.oid and pg_class.oid
will help you interpret the numbers --- see
http://www.postgresql.org/docs/8.1/static/view-pg-locks.html

            regards, tom lane

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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Seeing locks (was Status of gist locking in 8.1.3)
Следующее
От: "Philippe Lang"
Дата:
Сообщение: Which RPM for RH Linux ES 4? PGDB or RH?