pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: lauri.laanmets@eesti.ee
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Memory leak on subquery as scalar operand
Date: Mon, 31 Oct 2022 09:40:23 -0400
Message-ID: <527649.1667223623@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPH-tTxLf44s3CvUUtQpkDr1D8Hxqc2NGDzGXS1ODsfiJ6WSqA@mail.gmail.com>
References: <CAPH-tTxLf44s3CvUUtQpkDr1D8Hxqc2NGDzGXS1ODsfiJ6WSqA@mail.gmail.com>

Lauri Laanmets <pcspets@gmail.com> writes:
> There seems to be a memory leak in PostgreSQL for Linux (doesn't happen on
> Windows). At least in versions 12 to 14 (and not in 9.5). It can be
> reproduced with the following SQL script on an empty database.

Thanks for the test case!  Unfortunately, I can't see any ill effects
with it in currently released versions (I tried 12, 14, 15, and HEAD).
Which minor releases did you try?  Do you have any non-default
settings or build options?

			regards, tom lane





view thread (18+ messages)  latest in thread

Message-ID: <527649.1667223623@sss.pgh.pa.us>
Permalink:  ../527649.1667223623@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/527649.1667223623@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lauri.laanmets@eesti.ee, pgsql-bugs@lists.postgresql.org
  Subject: Re: Memory leak on subquery as scalar operand
  In-Reply-To: <527649.1667223623@sss.pgh.pa.us>

* 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