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 1gvlga-0002ZM-Cr for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Feb 2019 16:22:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvlgZ-0007bP-4H for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Feb 2019 16:22:27 +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 1gvlgY-0007bI-L2 for pgsql-bugs@lists.postgresql.org; Mon, 18 Feb 2019 16:22:26 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvlgV-0002Fe-MS for pgsql-bugs@lists.postgresql.org; Mon, 18 Feb 2019 16:22:25 +0000 Received: by mail-qt1-x843.google.com with SMTP id j36so19773222qta.7 for ; Mon, 18 Feb 2019 08:22:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=laHWzXsPcTcUTMWQ1h1vi5W/qKV6NGLLiCNCBo5U9uM=; b=uqJlNKi+a8+RwpR6iXtIRLU/O3k6URaoXcEjqpeFy0CBvyqJV6xlWxLyO2t10aLZLq vGUIUY/f2Jgj0dtO6p3oDg9UljoXGNluU9Eqp1oXyUxMp5+r4YhG/I+CHHoaOpOL4XdE hAuoC2q6IKi5ZhMSR6kuL15mHQzbNFTk8M/xZn0PZEFB2tJL0KomzsTIuWhMK5rSc1t0 9sQSUsKC3WRWGISUfJb37Bz1/JylYunsfS1FyunfTjTlOfZ7HI52POQjHPSUMvrnl+3i R0IPparS3y5+8OoVgi/Pg5XpHx175Clr7KcYgdIqIau4jawTnMe/tUiITF28j2Y7R2iJ 70ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=laHWzXsPcTcUTMWQ1h1vi5W/qKV6NGLLiCNCBo5U9uM=; b=PutRefUqXQH0V0mkcQOVp66iLtkpF1kbtNRUS4tVgITHykzyakm2W63K/sCpTlnEfm ahU608ODCZtWa/Oq6nn1HHq8O4PxQCASPhieKJJi6wKlhJn5M7czH2birvwqtbrPhctA MGOSfFyW06DHtRkOsqFh0PUBrdg0biNjtYcKEHReT3twHYularGtIAQ9gCzRlAjzQFFC rW2Ifilm9Pn+EsWSobnoEb8DQ5ydXDFUNdWW35Qp0ncFUTDrA3/PxZDIcAN5KbXh3dVt Biqu7QvaR1PufO1zFH0VjwJt7RkWR3bLXMf2ALFdfvK8wH7tp7MA1TXVT27yQfQ+tGwY P8Uw== X-Gm-Message-State: AHQUAuYf4s8No5iobsWQ5kQm+5SgyX6D3zkYlEp2RRBBlyEyQkSR5zUO HhZebLIIO6BJLRyuCkvzi5lzXLGBN+h/uQ== X-Google-Smtp-Source: AHgI3IZfwq75QcwzX2ZA/G5sgFqz62L1UVUFE6ASpznGKDdD9/vJwVZWCLwqus3aWoX1nfZ9UOU5jQ== X-Received: by 2002:ac8:584:: with SMTP id a4mr18722725qth.74.1550506942877; Mon, 18 Feb 2019 08:22:22 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([191.126.99.194]) by smtp.gmail.com with ESMTPSA id y17sm6834917qtc.33.2019.02.18.08.22.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 08:22:22 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 3EF2B12463A; Mon, 18 Feb 2019 11:45:55 -0300 (-03) Date: Mon, 18 Feb 2019 11:45:55 -0300 From: Alvaro Herrera To: m.kiianov@rtk-dc.ru, pgsql-bugs@lists.postgresql.org, Andres Freund Subject: Re: BUG #15640: FATAL: XX000: cannot read pg_class without having selected a database Message-ID: <20190218144555.GA4579@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <15640-58e01e10b362cc7f@postgresql.org> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Feb-18, PG Bug reporting form wrote: > 2019-02-18 05:30:36 GMT [40378]: [2-1] db=,user= FATAL: XX000: cannot read pg_class without having selected a database > 2019-02-18 05:30:36 GMT [40378]: [3-1] db=,user= LOCATION: ScanPgRelation, relcache.c:314 Hmm, I wonder if this is a bug introduced in 6a46aba1cd6d (in 9.6.10) that only hits autovacuum launcher after a relcache init removal at just the wrong time, or something like that? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services