From: Jeff Frost <jeff@pgexperts.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15299: relation does not exist errors
Date: Thu, 26 Jul 2018 12:05:55 -0700
Message-ID: <F8F8913D-3491-471A-A9D6-4C36CE9F786D@pgexperts.com> (raw)
In-Reply-To: <17754.1532623813@sss.pgh.pa.us>
References: <153262312335.1404.10540240090445927053@wrigleys.postgresql.org>
<17754.1532623813@sss.pgh.pa.us>
> On Jul 26, 2018, at 9:50 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> 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 started
>> seeing some strange issues where postgres was reporting tons of "relation"
>> 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"" = 735211 LIMIT 1",37,,"sidekiq 4.1.2 procore
>> [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 hand
>> worked fine.
>
> My first thought would be something to do with a restrictive search_path.
Good thought. As far as I can tell we never change it from the default and everything in that DB is in the public schema.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: jeff@pgexperts.com, tgl@sss.pgh.pa.us
Subject: Re: BUG #15299: relation does not exist errors
In-Reply-To: <F8F8913D-3491-471A-A9D6-4C36CE9F786D@pgexperts.com>
References: <153262312335.1404.10540240090445927053@wrigleys.postgresql.org> <17754.1532623813@sss.pgh.pa.us> <F8F8913D-3491-471A-A9D6-4C36CE9F786D@pgexperts.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox