Re: Server goes to Recovery Mode when run a SQL

rob stone <floriparob@gmail.com>

From: rob stone <floriparob@gmail.com>
To: PegoraroF10 <marcos@f10.com.br>, pgsql-general@postgresql.org
Date: 2019-02-13T12:29:37Z
Lists: pgsql-general
Hello Marcos,

On Wed, 2019-02-13 at 04:41 -0700, PegoraroF10 wrote:
> Here is a SQL which will get that recovery mode. You can run it on
> any database because we created it with FROM VALUES, so ...
> But this one is that one which grows and grows memory use until all
> memory and swap space are gone, so problem occurs. That other SQL
> which gives us the same problem but immediatelly we couldn´t replay
> it without our entire database. Even if we extract just that schema
> to a new DB it doesn´t go to recovery mode. We will think a little
> bit more to create something you can test.
> 

Thanks for the revised query.

However, the create table/view scripts are needed as well.

Cheers,
Robert



Commits

  1. Be more careful about the shape of hashable subplan clauses.