Seeing locks (was Status of gist locking in 8.1.3)

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Seeing locks (was Status of gist locking in 8.1.3)
Дата
Msg-id cone.1149005159.108600.48418.1000@zoraida.natserv.net
обсуждение исходный текст
Ответ на Status of gist locking in 8.1.3?  (Francisco Reyes <lists@stringsutils.com>)
Ответы Re: Seeing locks (was Status of gist locking in 8.1.3)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Chris writes:

>>> SELECT * from pg_locks ;
>> And this is per DB right?
> No, this is per system.

On a DB doing no/little work I always see two records returned. One has a
value in the 'database' column. How can I find what database it is?

Looking for it in pg_database did not yield any databases with a matching
number. The number in the 'database' column did not match any number of the
columns in pg_database.

The two records I always see are:
   locktype    |....|      mode       | granted
---------------+....+-----------------+---------
 transactionid |....| ExclusiveLock   | t
 relation      |....| AccessShareLock | t



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

Предыдущее
От: SCassidy@overlandstorage.com
Дата:
Сообщение: Re: UTF-8 context of BYTEA datatype??
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Seeing locks (was Status of gist locking in 8.1.3)