Re: Configure template change to use SysV Semaphors on darwin - Mailing list pgsql-patches

From Takayuki Tsunakawa
Subject Re: Configure template change to use SysV Semaphors on darwin
Date
Msg-id 009e01c74b22$7b0cb4b0$19527c0a@OPERAO
Whole thread Raw
In response to Configure template change to use SysV Semaphors on darwin  (Chris Marcellino <cmarcellino@apple.com>)
List pgsql-patches
> Chris Marcellino <cmarcellino@apple.com> writes:
>> I searched through the archives and I can't find a mention of why
the
>> posix_sema code was written for Darwin.

If I understand Tom-san's English, POSIX sema has no problem on Linux
(I'm afraid I'm misreading Tom-san's comment.)  If so, can you also
change the configure to use POSIX sema on Linux by default, after some
performance benchmark (pgbench is enough)?
If the users are freed from the tedious kernel IPC settings, the
impression they have on PostgreSQL will improve, I think.  IPC is the
concept for software developers, not for software users.  Currently,
"IPC setting? What is that?  Windows requires no such annoying task.
Why do I have to do such a boring task for server software."  "Oh,
PostgreSQL requires users to set kernel parameters unlike other
middleware.  PostgreSQL is easy!"

----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Chris Marcellino" <cmarcellino@apple.com>
Cc: <pgsql-patches@postgresql.org>
Sent: Thursday, February 08, 2007 9:54 AM
Subject: Re: [PATCHES] Configure template change to use SysV Semaphors
on darwin


> Chris Marcellino <cmarcellino@apple.com> writes:
>> I searched through the archives and I can't find a mention of why
the
>> posix_sema code was written for Darwin.
>
> Because Darwin didn't have anything else at the time.
>
>> If this is in fact the case, I have a trivial patch to
conditionally
>> enable SysV semaphores based on the OS release:
>
> Outta curiosity, can you measure any performance difference?
>
> regards, tom lane
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
>                http://www.postgresql.org/about/donate
>



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Configure template change to use SysV Semaphors on darwin
Next
From: Bruce Momjian
Date:
Subject: Re: TM formating patch