Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Re: undefined r...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 3392 of 3799
Post > Topic >>

Re: undefined relations in pg_locks

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 7, 2008 at 10:03 AM

"Sabin Coanda" <sabin.coanda@[EMAIL PROTECTED]
> 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 tem****ary 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

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 3 Posts in Topic:
undefined relations in pg_locks
"Sabin Coanda"   2008-04-07 11:56:35 
Re: undefined relations in pg_locks
tgl@[EMAIL PROTECTED] (T  2008-04-07 10:03:33 
Re: undefined relations in pg_locks
"Sabin Coanda"   2008-04-09 10:06:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:27:40 CST 2008.