Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSr4f-00019n-Ep for pgsql-general@arkaria.postgresql.org; Tue, 12 Jun 2018 21:43:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fSr4e-0006nD-4f for pgsql-general@arkaria.postgresql.org; Tue, 12 Jun 2018 21:43:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSr4d-0006n4-CB for pgsql-general@lists.postgresql.org; Tue, 12 Jun 2018 21:43:31 +0000 Received: from sonic302-21.consmr.mail.ir2.yahoo.com ([87.248.110.84]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSr4W-0001c6-AY for pgsql-general@lists.postgresql.org; Tue, 12 Jun 2018 21:43:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1528839802; bh=bOkp2M1H3gWDpGjoilsa1lXzWc3lDJ5npFkhyJKaINs=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=T6C/YNLbf0+b3r2TdxiQY/EGNU061T/Jf+zTLV61nTLWAoGiOCm4JouR3dudc/oSGStIp+O/bkWgBPFmYhCKNqjdkBhgv/FsTsZ9kUuOQBQq6zMCzKZqDRLIak2B8hzSbi+fC9geymBooSn0oNOAVkR8NDCqs/gDAuZ2lCZixOEfM1ycp1K0F67yXLOwmvFLxH8HlLS62HEKwmnUnxqdaLHecqaWrA4LzqFOTnCkgtL+03oTwQF14y6dvhLxrFU8NOOa8u2W79cQ58kpruZMA70iUoT5l3L+8S5toMtQzLjY1Zn0M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ir2.yahoo.com with HTTP; Tue, 12 Jun 2018 21:43:22 +0000 Date: Tue, 12 Jun 2018 21:43:17 +0000 (UTC) From: Christophe combet To: "pgsql-general@lists.postgresql.org" Message-ID: <94578609.7479701.1528839797207@mail.yahoo.com> In-Reply-To: <2120893212.2682655.1526396569241@mail.yahoo.com> References: <2120893212.2682655.1526396569241.ref@mail.yahoo.com> <2120893212.2682655.1526396569241@mail.yahoo.com> Subject: Re: Out of memory error with PG10.3, 10.4 but not 9.3.19 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7479700_707259574.1528839797205" X-Mailer: WebService/1.1.11950 YMailNorrin Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15 Content-Length: 6251 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_7479700_707259574.1528839797205 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le mercredi 16 mai 2018 =C3=A0 09:48:54 UTC+2, ChatPristi a =C3=A9crit : =20 =20 Dear all, I have a SELECT command (in partitionned tables) that failed with:psql:/tmp= /query.txt:1: ERROR:=C2=A0 out of memory DETAIL:=C2=A0 Cannot enlarge string buffer containing 1073741818 bytes by 3= 2 more bytes. I got the error with PG 10.3 and 10.4 on CentOS 7 up-to-date.The command wo= rks with a smaller size database. The command works with the same database with PG 9.3.19 on RHEL 6.9 up-to-d= ate. I attach the EXPLAIN SELECT command. Apart rewriting the query is there any parameter that could be changed to m= ake the query work in the postgresql.conf ? Thank you very much for any help. Hello, Any ideas where the OOM comes from in 10.4 while 9.3 is working ? Thanks. =20 ------=_Part_7479700_707259574.1528839797205 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Le me= rcredi 16 mai 2018 =C3=A0 09:48:54 UTC+2, ChatPristi <cchristo_0899@yaho= o.fr> a =C3=A9crit :


Dear all,


I have a SELECT command (in partitionned tables) that failed wit= h:
psql:/tmp= /query.txt:1: ERROR:  out of memory
DETAIL:  Cannot enlarge st= ring buffer containing 1073741818 bytes by 32 more bytes.

I got the error with PG 10= .3 and 10.4 on CentOS 7 up-to-date.
The command works with a smaller size databa= se.

The command works with the = same database with PG 9.3.19 on RHEL 6.9 up-to-date.

I attach the EXPLAIN SELECT command.

Apart rewriting the query is there any = parameter that could be changed to make the query work in the postgresql.co= nf ?

Thank you very much for an= y help.

=

Hello,

= Any ideas where the OOM comes from in 10.4 while 9.3 is working ?

Thanks.


------=_Part_7479700_707259574.1528839797205--