Re: Server goes to Recovery Mode when run a SQL - Mailing list pgsql-general

From Michael Paquier
Subject Re: Server goes to Recovery Mode when run a SQL
Date
Msg-id 20190204010709.GC1881@paquier.xyz
Whole thread Raw
In response to Re: Server goes to Recovery Mode when run a SQL  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Server goes to Recovery Mode when run a SQL
List pgsql-general
On Sun, Feb 03, 2019 at 10:05:46AM -0800, Adrian Klaver wrote:
> On 2/3/19 8:32 AM, PegoraroF10 wrote:
>> I have a complex query which puts my server in recovery mode every time I
>> run it.
>> I don´t need to say that recovery mode is a situation you don´t want your
>> server goes to.

Do you mean that your server crashes after running a SQL query?  That
could be a bug.

> Well actually that is how standby_servers run:
>
> https://www.postgresql.org/docs/11/warm-standby.html
>
> "... while each standby server operates in continuous recovery mode, reading
> the WAL files from the primary."
>
> Is this server a standby?

If you could post a self-contained test case, that would be really
helpful to see if there is an actual bug.  You can obfuscate the
schema if need be, as long as the problem can be reproduced that's
fine.
--
Michael

Attachment

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Server goes to Recovery Mode when run a SQL
Next
From: Syed Jafri
Date:
Subject: JSONB Array of Strings (with GIN index) versus Split Rows (B-TreeIndex)