Re: Can't find a relation in pg_class - Mailing list pgsql-admin

From Ron
Subject Re: Can't find a relation in pg_class
Date
Msg-id 244637b0-a121-d1f0-74b1-24c0facca308@gmail.com
Whole thread Raw
In response to Re: Can't find a relation in pg_class  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Can't find a relation in pg_class  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-admin
On 11/15/2018 12:56 PM, Tom Lane wrote:
> Ron <ronljohnsonjr@gmail.com> writes:
>> 10.143.169.100(38184) TAP TAPb 14310 PARSE waiting [unknown] 00000
>>          LOG:  process 14310 still waiting for AccessShareLock
>>          on relation *767445914* of database *767442254* after 1000.389 ms at
>> character 39
>> We found this in the log file, so went looking for what relation 767445914
>> is, but don't see it in the pg_class table.  Am I doing something wrong?
> This message would be citing relation OID not relfilenode, I believe.

In what table?

> Another possibility is that you can't see the row because it's either
> uncommitted (new table) or committed dead (just-deleted table).  But
> it's not real clear how there could be a lock conflict in such cases.

That's what puzzles us.  (It's part of a huge transaction which drops old 
bits of partitoned tables and then adds new bits.  It worked flawlessly in 
8.4 but not in 9.6.)


-- 
Angular momentum makes the world go 'round.


pgsql-admin by date:

Previous
From: Mariel Cherkassky
Date:
Subject: Re: checkpoint occurs very often when vacuum full running
Next
From: Alvaro Herrera
Date:
Subject: Re: Can't find a relation in pg_class