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 1gvm2K-0003Xv-BT for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Feb 2019 16:44:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvm2J-0005WT-6q for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Feb 2019 16:44:55 +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 1gvm1k-0002X7-7U for pgsql-bugs@lists.postgresql.org; Mon, 18 Feb 2019 16:44:20 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvm1h-0005wc-Oi for pgsql-bugs@lists.postgresql.org; Mon, 18 Feb 2019 16:44:19 +0000 Received: by mail-qt1-x842.google.com with SMTP id p48so19894716qtk.2 for ; Mon, 18 Feb 2019 08:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=kQbiMqDpiG8gidTXuFxQ9qwLNkCjmemDiUi4Dx/w8ao=; b=V01TjxIeXWxG9CLhSQgyYOu9hytL1w3q47FLKKjR/ZIbYZ+wEgfqf2b2cUNy5Nnmbe X0C94dkayh+E1V2zwVsT66WDGr3Wtpis27whxMOE91M8nFcCiD0dSWW01Deshu5OWAc8 3DE8J1JAB74k80lc3lAoPsfqI7kRxagu084JAaDGkDerygfCAVM4/vrFKjE7pqkOipi+ mx9j+CV88Bw92pQNdk1Puk5ciGRFEZk3F691pK/oc1v5pKea9+Gm4yqq/DVph1UDpn8M c9geAvtXnRIZpUQm3VtXb4hPmyHZHk1mpBqYmW7eVVRaempnZn3pJasd2AI94WiHwRmG upKg== 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:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=kQbiMqDpiG8gidTXuFxQ9qwLNkCjmemDiUi4Dx/w8ao=; b=spmXpDoK9Uu0d8RCra7EklCJtrGKFYzgzCJ8ngaeFoX3I7SDChFLc02E4Cgox9FetQ /nYpVgNQx8yDwgursPZnFIDvZb/EafGCOtGeF0Zzey1S2dc2eFU9+mvVF/2feWx6vrcm z5VYNxMUVOBnNCB+a5rudf+t8QYUrfABXWjjghP0WwWl3dGMWy2blVp5DgFgRzm7crHX Vp6zxe7S/g17Yz1SDCJ/QIc8xa9s1lhjgKBmO+dpFQku4ilgWBxcMq9OVO9HqN2mi2BD vM6xHAlXeCSFpNjngPH2SLWp/RJmMxKdp6coQ5LBPoli1n83WqK7BBL9VmYrKXa6/v2I Vp8Q== X-Gm-Message-State: AHQUAuacwZnr/8anwU4vN8Ix81Dp0uInGY6oNrgXN9Ihv1bBMR1TRgdM 2ZC6oESFKSOzJ5SlY0BuVPTXdQ== X-Google-Smtp-Source: AHgI3IYsiL2QSB5A4oU+P8vvoCZkyZD6vvkpmoMPrf6RUu+P0WTLHXxLCHMxLvjk3hawCI3e8RXsBg== X-Received: by 2002:aed:35ea:: with SMTP id d39mr18634532qte.137.1550508255144; Mon, 18 Feb 2019 08:44:15 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([191.126.99.194]) by smtp.gmail.com with ESMTPSA id z190sm7727936qkb.9.2019.02.18.08.44.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 08:44:14 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 226BE1244CB; Mon, 18 Feb 2019 13:44:12 -0300 (-03) Date: Mon, 18 Feb 2019 13:44:12 -0300 From: Alvaro Herrera To: Andres Freund Cc: Tom Lane , m.kiianov@rtk-dc.ru, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15640: FATAL: XX000: cannot read pg_class without having selected a database Message-ID: <20190218164412.GA7740@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190218164247.5jvu7gotnz4sw4jn@alap3.anarazel.de> 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, Andres Freund wrote: > My initial guess would be that one of the extensions registered a > relcache callback, and does catalog accesses in an unconditional manner. Hmm but why is extension code running in autovacuum launcher? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services