Fw: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19 - Mailing list pgsql-general

From ChatPristi
Subject Fw: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19
Date
Msg-id 606285219.2038704.1528317018514@mail.yahoo.com
Whole thread Raw
In response to Out of memory error with PG10.3, 10.4 but not 9.3.19  (ChatPristi <cchristo_0899@yahoo.fr>)
List pgsql-general

Forgotten to CC the list too, sorry. again..

>1073741818 is a bit less than 1GB and 1073741818+32 is a bit more. So
>you are obviously hitting a 1GB limit here.
>Given that 1GB is the maximum length of a character type value in
>PostgreSQL and the error message mentions a "string buffer", I suspect
>that your query tries to construct a very long string. Try to rewrite
>the query so that it creates several shorter strings instead.
>      hp


Peter,

Thank you for your answer.
I understood tht some buffer limit is reached. But I do not see where.
The output is 1513 rows and 78 kb.



--
  _  | Peter J. Holzer    | we build much bigger, better disasters now
|_|_) |                    | because we have much more sophisticated
| |  | hjp@hjp.at        | management tools.
__/  | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/
>

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Slow planning time for simple query
Next
From: Adrian Klaver
Date:
Subject: Re: Which backend using which pg_temp_N schema?