Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fijT1-0003VE-N9 for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Jul 2018 16:50:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fijSz-0004rv-GP for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Jul 2018 16:50:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fijSz-0004rT-6w for pgsql-bugs@lists.postgresql.org; Thu, 26 Jul 2018 16:50:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fijSw-0004Ur-PX for pgsql-bugs@lists.postgresql.org; Thu, 26 Jul 2018 16:50:15 +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 w6QGoEX2017755; Thu, 26 Jul 2018 12:50:14 -0400 From: Tom Lane To: jeff@pgexperts.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15299: relation does not exist errors In-reply-to: <153262312335.1404.10540240090445927053@wrigleys.postgresql.org> References: <153262312335.1404.10540240090445927053@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Thu, 26 Jul 2018 16:38:43 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17753.1532623813.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 26 Jul 2018 12:50:13 -0400 Message-ID: <17754.1532623813@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?utf-8?q?PG_Bug_reporting_form?=3D writes: > We recently upgraded some production servers to 9.5.13 on Saturday > (7/21/2018) and they ran fine for 2 days. On Wednesday morning, we start= ed > seeing some strange issues where postgres was reporting tons of "relatio= n" > does not exist errors. Here are some snippets from the logs: > 2018-07-25 14:33:53.243 > GMT,"app_db","webapp",34887,"127.0.0.1:56740",5b587d3b.8847,90363,"PARSE= ",2018-07-25 > 13:38:03 GMT,287/3021104,0,ERROR,42P01,"relation ""login_informations"" = does > not exist",,, > ,,,"SELECT ""login_informations"".* FROM ""login_informations"" WHERE > ""login_informations"".""id"" =3D 735211 LIMIT 1",37,,"sidekiq 4.1.2 pro= core > [0 of 5 busy]" > Connecting to the DB via psql and issuing a \d login_informations showed > that the table was there. Running one of the queries from the logs by ha= nd > worked fine. My first thought would be something to do with a restrictive search_path. regards, tom lane