Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 090A764FE7D for ; Wed, 15 Oct 2008 16:29:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 28567-07 for ; Wed, 15 Oct 2008 16:29:33 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id DFA5164FE79 for ; Wed, 15 Oct 2008 16:29:32 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id m9FJSxq04400; Wed, 15 Oct 2008 15:28:59 -0400 (EDT) From: Bruce Momjian Message-Id: <200810151928.m9FJSxq04400@momjian.us> Subject: Re: Drupal and PostgreSQL - performance issues? In-Reply-To: <24873.1224094510@sss.pgh.pa.us> To: Tom Lane Date: Wed, 15 Oct 2008 15:28:59 -0400 (EDT) CC: "Matthew T. O'Connor" , Greg Smith , Gregory Stark , Kevin Murphy , pgsql-general@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200810/629 X-Sequence-Number: 138878 Tom Lane wrote: > "Matthew T. O'Connor" writes: > > Tom Lane wrote: > >> Mind you, I find the SysV APIs uselessly baroque too, but there is one > >> feature that we have to have that is not in mmap(): the ability to > >> detect other processes attached to a shmem block. > > > Didn't we solve this problem on Windows? > > Not terribly well --- see active thread on -hackers. We could allocate a small shared memory area to solve this and use mmap() for the other shared memory usage. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +