Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gNMoI-0000MG-Ds for pgsql-admin@arkaria.postgresql.org; Thu, 15 Nov 2018 18:56:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gNMoG-0004gm-ND for pgsql-admin@arkaria.postgresql.org; Thu, 15 Nov 2018 18:56:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gNMoG-0004gP-FE for pgsql-admin@lists.postgresql.org; Thu, 15 Nov 2018 18:56:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gNMoE-0000IZ-6Y for pgsql-admin@postgresql.org; Thu, 15 Nov 2018 18:56:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wAFIu7hC017470; Thu, 15 Nov 2018 13:56:07 -0500 From: Tom Lane To: Ron cc: Pgsql-admin Subject: Re: Can't find a relation in pg_class In-reply-to: References: Comments: In-reply-to Ron message dated "Thu, 15 Nov 2018 12:28:41 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <17468.1542308167.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 15 Nov 2018 13:56:07 -0500 Message-ID: <17469.1542308167@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ron writes: > 10.143.169.100(38184) TAP TAPb 14310 PARSE waiting [unknown] 00000 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LOG:=C2=A0 process 14310 still wai= ting for AccessShareLock > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 on relation *767445914* of databas= e *767442254* after 1000.389 ms at = > character 39 > We found this in the log file, so went looking for what relation 7674459= 14 = > is, but don't see it in the pg_class table.=C2=A0 Am I doing something w= rong? This message would be citing relation OID not relfilenode, I believe. 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. regards, tom lane