| От | Tom Lane |
|---|---|
| Тема | Re: undefined relations in pg_locks |
| Дата | |
| Msg-id | 4725.1207577013@sss.pgh.pa.us обсуждение |
| Ответ на | undefined relations in pg_locks ("Sabin Coanda" <sabin.coanda@deuromedia.ro>) |
| Список | pgsql-sql |
"Sabin Coanda" <sabin.coanda@deuromedia.ro> writes:
> Unfortunatelly, I don't find the related objects of the oids of "relation"
> field. Also all the fields "classid" and "objid" are null.
> May I suppose there were references to temporary tables?
Are you sure they are in the same database you are working in? If the
locktype is "relation" and the database column matches your database's
OID, the relation column definitely ought to match some OID in pg_class.
It is possible that you can't see the pg_class row because the relation
was created in a transaction that hasn't committed yet --- but such an
entry could never be a reason for a deadlock, because no other
transaction could be trying to lock it.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера