pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ChatPristi <cchristo_0899@yahoo.fr>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Fw: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19
Date: Wed, 6 Jun 2018 20:30:18 +0000 (UTC)
Message-ID: <606285219.2038704.1528317018514@mail.yahoo.com> (raw)
In-Reply-To: <418944232.2718804.1527629702941@mail.yahoo.com>
References: <2120893212.2682655.1526396569241.ref@mail.yahoo.com>
	<2120893212.2682655.1526396569241@mail.yahoo.com>
	<20180518102516.3gv64eoek7o7qpau@hjp.at>
	<418944232.2718804.1527629702941@mail.yahoo.com>

 
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/;    

view thread (6+ messages)  latest in thread

Message-ID: <606285219.2038704.1528317018514@mail.yahoo.com>
Permalink:  ../606285219.2038704.1528317018514@mail.yahoo.com/
Also on:    postgresql.org/message-id/606285219.2038704.1528317018514@mail.yahoo.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: cchristo_0899@yahoo.fr
  Subject: Re: Fw: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19
  In-Reply-To: <606285219.2038704.1528317018514@mail.yahoo.com>
  References: <2120893212.2682655.1526396569241.ref@mail.yahoo.com> <2120893212.2682655.1526396569241@mail.yahoo.com> <20180518102516.3gv64eoek7o7qpau@hjp.at> <418944232.2718804.1527629702941@mail.yahoo.com> <606285219.2038704.1528317018514@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox