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 1gNMNq-0007EV-IU for pgsql-admin@arkaria.postgresql.org; Thu, 15 Nov 2018 18:28:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gNMNo-0003xf-Nj for pgsql-admin@arkaria.postgresql.org; Thu, 15 Nov 2018 18:28:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gNMNo-0003r7-Bs for pgsql-admin@lists.postgresql.org; Thu, 15 Nov 2018 18:28:52 +0000 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gNMNh-0000WI-1R for pgsql-admin@postgresql.org; Thu, 15 Nov 2018 18:28:50 +0000 Received: by mail-ot1-x332.google.com with SMTP id 40so18926824oth.4 for ; Thu, 15 Nov 2018 10:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=CIcvmou9LXt2EE3DwlPTycr/+EgUwXg1QOdb/Hf8luo=; b=RGvhZ9gyv4pOwo3rkPRjOpZXHp04z7pXcaafXm2Mhl+TR9ifKm6uKj/t8lni4hxMbR sQXv177FU2S/wTetLXSxShfoLYqG1elKtUB3I1AliZRdtuTRhW1HAOeJF5CKzTPZ9phX 79hNg9BUATrLE3Lc2iX6CbvBOZdqlwcgSKMJsy0RdOV1RBjwtfwL6Ns0CFoutd0F1n6g 4zUjaVEkKJztA0PaExyEf4UAh8Py07xLr6K/ZP7r5ZgJzAyeSXJsDowr2wo/o3q8kgU2 sN5KExcINAWbsJF6jEkNsHN7OPphtTNP3z2Ia1divJfhae61873L6XS9I6BR4G8Mkp3q z79Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=CIcvmou9LXt2EE3DwlPTycr/+EgUwXg1QOdb/Hf8luo=; b=q7KjLNwT53cXuOX/S3atYuDCKQZpi0WIR/KB9f9ZUV8e4S1ckVKJqyE0VuuaLVtOWx W9U9//USOiVZl5mHlIlKBBO6ElgJdH1/qEy5HwyP5APJiZ/FW9cC6SH+cPZ+TcRGGmzz nf3U3WqG+/yixFlS1Y03RaJQmRUTuTH8ET3oHPknAKYaTyDSzx68E5IfscX1+sk7GsH2 fM3Dq8R8Ty2Taxk3zL8zggxJEsBlLRTM76JMvCYll42enH3VIXJTqCb8QiS6nuWTIR54 oIQWDc/odx1gBT5dCH4pH7Fj8+aPo6XQYwf1A0OMShdIEElgzQAQnz/w+6WXfYMO53Wy fHWg== X-Gm-Message-State: AGRZ1gJe+F/XhVhNE51OJOhYln4bDixhLi4DT/Xq03mlWcuVGMkD2MNn UVXZLle1YqiChfMJwsXl8OtzMk4Z X-Google-Smtp-Source: AJdET5ebKEwdQkdXidpAlrxM/chJqaOlcZar3Mg9sA2/Sq5wC8zheOrqWF74dUQTX1ikh++yOdyY/w== X-Received: by 2002:a9d:3de2:: with SMTP id l89mr4485704otc.239.1542306523324; Thu, 15 Nov 2018 10:28:43 -0800 (PST) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id q65-v6sm9457870oif.6.2018.11.15.10.28.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Nov 2018 10:28:42 -0800 (PST) To: Pgsql-admin From: Ron Subject: Can't find a relation in pg_class Message-ID: Date: Thu, 15 Nov 2018 12:28:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------DD4153E6A343E75F230EA2F0" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------DD4153E6A343E75F230EA2F0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, v9.6.6 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? postgres=# select oid, datname from pg_database;     oid    |  datname -----------+-----------      13269 | postgres          1 | template1      13268 | template0 *767442254 | TAPb* (4 rows) postgres=# \c TAPb TAPb=# select n.nspname,               c.relname,               c.relfilenode        from pg_class c,                pg_namespace n        where n.oid = c.relnamespace          and c.relfilenode > 767445900        order by c.relfilenode;   nspname | relname                          | relfilenode ----------+-----------------------------------------------------------+-------------  css      | branding_file_branding_file_id_seq                        | *767445903*  css      | cssbatch_control_cssbatch_control_id_seq                  | *767445920*  css      | cssdata_partition_ds_cssdata_partition_ds_id_seq          | 767447650  css      | cssdata_partition_policy_cssdata_partition_policy_id_seq  | 767447655 [snip] Thanks -- Angular momentum makes the world go 'round. --------------DD4153E6A343E75F230EA2F0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi,

v9.6.6

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?

postgres=# select oid, datname from pg_database;
    oid    |  datname
-----------+-----------
     13269 | postgres
         1 | template1
     13268 | template0
 767442254 | TAPb
(4 rows)

postgres=# \c TAPb

TAPb=# select n.nspname,
              c.relname,
              c.relfilenode
       from pg_class c,
               pg_namespace n
       where n.oid = c.relnamespace
         and c.relfilenode > 767445900
       order by c.relfilenode;
  nspname |                          relname                          | relfilenode
----------+-----------------------------------------------------------+-------------
 css      | branding_file_branding_file_id_seq                        |   767445903
 css      | cssbatch_control_cssbatch_control_id_seq                  |   767445920
 css      | cssdata_partition_ds_cssdata_partition_ds_id_seq          |   767447650
 css      | cssdata_partition_policy_cssdata_partition_policy_id_seq  |   767447655
[snip]

Thanks

--
Angular momentum makes the world go 'round.
--------------DD4153E6A343E75F230EA2F0--