pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Thomas Munro <tmunro@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix memory leak on DSM slot exhaustion.
Date: Sat, 1 Feb 2020 18:36:53 +0900
Message-ID: <20200201093653.GB4133@paquier.xyz> (raw)
In-Reply-To: <E1ixibO-00035V-Du@gemulon.postgresql.org>
References: <E1ixibO-00035V-Du@gemulon.postgresql.org>

Hi Thomas,

On Sat, Feb 01, 2020 at 02:33:42AM +0000, Thomas Munro wrote:
> Fix memory leak on DSM slot exhaustion.
> 
> If we attempt to create a DSM segment when no slots are available,
> we should return the memory to the operating system.  Previously
> we did that if the DSM_CREATE_NULL_IF_MAXSEGMENTS flag was
> passed in, but we didn't do it if an error was raised.  Repair.
> 
> Back-patch to 9.4, where DSM segments arrived.

It seems to me that you have forgotten REL_11_STABLE in the set of
branches to fix.

Thanks,
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (9+ messages)  latest in thread

Message-ID: <20200201093653.GB4133@paquier.xyz>
Permalink:  ../20200201093653.GB4133@paquier.xyz/
Also on:    postgresql.org/message-id/20200201093653.GB4133@paquier.xyz

 · 

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-committers@postgresql.org
  Cc: michael@paquier.xyz, tmunro@postgresql.org
  Subject: Re: pgsql: Fix memory leak on DSM slot exhaustion.
  In-Reply-To: <20200201093653.GB4133@paquier.xyz>
  References: <E1ixibO-00035V-Du@gemulon.postgresql.org> <20200201093653.GB4133@paquier.xyz>

* 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