public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: ERROR: could not open relation with OID XXXX
Date: Sun, 25 Aug 2024 10:31:02 -0400
Message-ID: <CANzqJaArn7Ubn6U_Ny9CSUpEjJ3rN5erE92g7fo_aO9cm8Fpwg@mail.gmail.com> (raw)
In-Reply-To: <CACgY3QYe3mqMkODOzwx=EN4iGoddObUotLL8hGnCg==3vmxd_g@mail.gmail.com>
References: <CACgY3QYe3mqMkODOzwx=EN4iGoddObUotLL8hGnCg==3vmxd_g@mail.gmail.com>
On Sun, Aug 25, 2024 at 9:42 AM Marcelo Zabani <[email protected]> wrote:
> Hi all,
>
> I can reproduce the error in the subject from time to time when querying
> catalog tables while DDL is happening concurrently. Here's a bash script
> that reproduces it (not always, you might have to run it many times until
> you see ERROR: could not open relation with OID XXXX):
>
[snip]
> I've seen this happen in Production without pg_sleep in the mix, too. I
> added pg_sleep to the example above only because it makes the error easier
> to reproduce.
>
What version (including minor number)?
> Is there something I can do to avoid this? Is my understanding of how the
> catalog tables work wrong?
>
Just out of curiosity, *WHY* do you do this? It's never occurred to me to
do that; maybe it's something useful that I've been overlooking.
--
Death to America, and butter sauce.
Iraq lobster!
view thread (8+ messages) latest in thread
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: ERROR: could not open relation with OID XXXX
In-Reply-To: <CANzqJaArn7Ubn6U_Ny9CSUpEjJ3rN5erE92g7fo_aO9cm8Fpwg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox