pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: pg_buffercache: Allow huge allocations.
Date: Thu, 15 Sep 2016 13:34:39 +0000
Message-ID: <E1bkWoJ-000278-Rw@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

pg_buffercache: Allow huge allocations.

Otherwise, users who have configured shared_buffers >= 256GB won't
be able to use this module.  There probably aren't many of those, but
it doesn't hurt anything to fix it so that it works.

Backpatch to 9.4, where MemoryContextAllocHuge was introduced.  The
same problem exists in older branches, but there's no easy way to
fix it there.

KaiGai Kohei

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/60b6d99dac05b888b7f121720cafea88ba0c9307

Modified Files
--------------
contrib/pg_buffercache/pg_buffercache_pages.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (4+ messages)  latest in thread

Message-ID: <E1bkWoJ-000278-Rw@gemulon.postgresql.org>
Permalink:  ../E1bkWoJ-000278-Rw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bkWoJ-000278-Rw@gemulon.postgresql.org

 · 

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: rhaas@postgresql.org
  Subject: Re: pgsql: pg_buffercache: Allow huge allocations.
  In-Reply-To: <E1bkWoJ-000278-Rw@gemulon.postgresql.org>
  References: <E1bkWoJ-000278-Rw@gemulon.postgresql.org>

* 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