Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: BUG #3495: PostgreSQL does not use POSIX SHM or SEM in place of SYSV equivalents


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
  • Cc: Roger Leigh <rleigh(at)whinlatter(dot)ukfsn(dot)org>, pgsql-bugs(at)postgresql(dot)org
  • Subject: Re: BUG #3495: PostgreSQL does not use POSIX SHM or SEM in place of SYSV equivalents
  • Date: Sat, 28 Jul 2007 17:29:38 -0400
  • Message-id: <16662.1185658178@sss.pgh.pa.us> <text/plain>

Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> Roger Leigh wrote:
>> PostgreSQL is using the old SYSV shared memory and semaphores, as evidenced
>> by ipcs:

> A patch to do that submitted was submitted in Spring, but it was not
> accepted for 8.3 because there was some issues with it. 

More strongly: it never will be accepted because the POSIX API doesn't
offer the features we need.

You can use POSIX semaphores if you choose (there are compile options
for that), but experience to date says that that degrades performance.
POSIX shared memory is simply not happening.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group