pgsql: Fix broken mmap failure-detection code, and improve error messag

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix broken mmap failure-detection code, and improve error messag
Date: 2012-06-28 16:59:01
Message-ID: E1SkI3Z-0008Ph-0j@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix broken mmap failure-detection code, and improve error message.

Per an observation by Thom Brown that my previous commit made an
overly large shmem allocation crash the server, on Linux.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/39715af23ae459684963c350dd69eafa2d502e7e

Modified Files
--------------
src/backend/port/sysv_shmem.c | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-06-28 17:05:48 Re: pgsql: Fix install program detection
Previous Message Robert Haas 2012-06-28 16:39:38 Re: pgsql: Fix install program detection