Re: BUG #2406: Not all systems support SHM_SHARE_MMU - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2406: Not all systems support SHM_SHARE_MMU
Date
Msg-id 23029.1145990081@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2406: Not all systems support SHM_SHARE_MMU  ("Paul van der Zwan" <paul.vanderzwan@sun.com>)
Responses Re: BUG #2406: Not all systems support SHM_SHARE_MMU  (Paul van der Zwan <Paul.Vanderzwan@Sun.COM>)
List pgsql-bugs
Paul van der Zwan <Paul.Vanderzwan@Sun.COM> writes:
> On 25-apr-2006, at 16:46, Tom Lane wrote:
>> AFAICS, SHM_SHARE_MMU has no
>> guaranteed semantic effect anyway, it's just a performance hint; so
>> ignoring it on platforms that can't handle it is reasonable.
>>
> I disagree, I have no definite info  why it is a hard failure,
> probably because
> there is no way to communicate to the app that it's request is
> ignored.

Which applications do you think will do anything except exactly what you
are proposing we do, ie, just redo the call without the flag bit?  Why
are you going to make every application jump through this hoop in order
to cope with a (possibly temporary) inadequacy in some seldom-used
versions of Solaris?

We'll probably put in the kluge because we have no other choice, but
I strongly disagree that it's our problem.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Hans Guijt"
Date:
Subject: Re: BUG #2305: "No bufferspace available" error on large insert
Next
From: Marinos Yannikos
Date:
Subject: pg_dump 8.1.2 with 7.4.2 server screws up with LATIN1 strings