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 1gNNlq-0004no-Qn for pgsql-admin@arkaria.postgresql.org; Thu, 15 Nov 2018 19:57:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gNNlo-0003Yg-Sv for pgsql-admin@arkaria.postgresql.org; Thu, 15 Nov 2018 19:57:44 +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 1gNNlo-0003YZ-Hz for pgsql-admin@lists.postgresql.org; Thu, 15 Nov 2018 19:57:44 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gNNlm-0002dN-07 for pgsql-admin@postgresql.org; Thu, 15 Nov 2018 19:57:43 +0000 Received: by mail-oi1-x229.google.com with SMTP id u130-v6so17786326oie.7 for ; Thu, 15 Nov 2018 11:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=THerkDQgMf0fwyagALxATnnpIthWRGRK6djhs7CeBl0=; b=lPiO0IKt+T/LkmIlgmPXGARwUQ/jFUll11YSR8WegvSN+ytsJJEeY+dFsFpdk8Hh+z +vEezCwnt9EvvbewSKAoMdO2kk21ZqlakajPWXPufst0iDODwIsxb3qsTN/uFkvHRYBK UK654IjfQz0UUsSRSLZYzcZIRGJGIC14eBqdZHM93MiS7FLb7Dq4Lx5WHLLmu+41y9TA ew9PoEWz+mZOBxiMWKyTbgQUr4x1KklGHsjMSuUvZDfqqMOXFC4kFDI9evRceKNJq1eW emMCFD6Di8/mmN0mZxkt/OrdsLTj5S4kfqt4L5nQBa5rIk9nZzvT2TMKrjeVoTRTyWai swHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=THerkDQgMf0fwyagALxATnnpIthWRGRK6djhs7CeBl0=; b=Qly6iT0CW002QkGzgGveALUz23Z4D/AZPYmS24iQzG2G87Yq/A8rASCFruojUqpTFI 82n5LNNHsZQHClhRoAwcVRUCn3XXA1KI6EU9dJE+IWy5PIMgCg39Eb39EVECtvK8BOZC X0CZBPGL2RlUxxhaU5X+OLNGMSJ4SdnMtp8jf4q6ghUyr4EuyzwusSIe6X749e9QM2ul /G/59gERit9qwGNlWYHo/H2OrQG/XA0Ud9wQ3rQQHdihnRUXO4V1r76D7a1BtMtb70Df 1GgbxV+yvJAq8gGqVw12eMVwW9HwqwrPlluXuZR2KglcS+lxG3Itqg2Ldl1iVCe0DWfV n+0g== X-Gm-Message-State: AGRZ1gJozK1U+4ejqqu8VmWqli2ygtl+lfvRVOS0U2rNtnNq+7ih+Jod 4dF47hU1bpWRQp7KdwJ/cjlJGX4O X-Google-Smtp-Source: AJdET5dFp128Ff/NCC3Dw6B3nuRvTl1vxdiu+1okbidsBghYTTAOKL1kgGvzGcLn+5JncHUpcaqXCg== X-Received: by 2002:aca:b746:: with SMTP id h67-v6mr4117439oif.89.1542311860870; Thu, 15 Nov 2018 11:57:40 -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 p203sm8642561oic.49.2018.11.15.11.57.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Nov 2018 11:57:39 -0800 (PST) Subject: Re: Can't find a relation in pg_class To: Pgsql-admin References: <17469.1542308167@sss.pgh.pa.us> From: Ron Message-ID: <244637b0-a121-d1f0-74b1-24c0facca308@gmail.com> Date: Thu, 15 Nov 2018 13:57:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <17469.1542308167@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/15/2018 12:56 PM, Tom Lane wrote: > Ron 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.