public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: recovery error while running any statement
Date: Thu, 9 Jan 2025 11:48:52 -0500
Message-ID: <CANzqJaAXC8cpJgOvynFWAaEyaux_0r+7=dr4gaDOrk7wMw648A@mail.gmail.com> (raw)
In-Reply-To: <CAEzWdqeNp1HRJt7SkQxANB60CMhrGuJsRKtEpu-Ghb_nXUvgoQ@mail.gmail.com>
References: <CAEzWdqeNp1HRJt7SkQxANB60CMhrGuJsRKtEpu-Ghb_nXUvgoQ@mail.gmail.com>
On Thu, Jan 9, 2025 at 11:42 AM yudhi s <[email protected]> wrote:
> Hello Experts,
> It's postgres aurora version 16. While running the ALTER command on any
> object we see an error "*Only RowExclusiveLock or less can be acquired on
> database objects during recovery*". If I run any DML it gives an error
> stating '*cannot execute UPDATE in a read-only transaction*' , then I
> tried setting "*set transaction read-write*" and it erroring out with "*cannot
> set transaction read-write mode during recovery*".
>
> Want to understand , what is the cause of this error and how to fix this?
>
The cause of the error is that the instance is in recovery mode, just like
the error message says.
Is your system a cluster?
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
view thread (2+ 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: recovery error while running any statement
In-Reply-To: <CANzqJaAXC8cpJgOvynFWAaEyaux_0r+7=dr4gaDOrk7wMw648A@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