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

POSIX Shared memory, revised, again

From: Chris Marcellino <cmarcellino(at)apple(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: POSIX Shared memory, revised, again
Date: 2007-02-27 19:17:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
So I've finished reformulating this patch to use the device/inode  
instead of the hash idea I had earlier.

I have tested this patch (on Darwin) to permit the postmaster to  
recover after a crash or killing, and it will not permit the  
postmaster to restart while another postmaster or backends are still  
in the database (regardless of the lockfile status). The ideas are  
the same as before, but are described via flowchart in the attached  
PDF. The three template files opt-out those particular templates from  
the POSIX shmem, but this could be done alternately by opting-in the  
desired patches. An autoconf'ing of the patched file is,  
of course, required.

I appreciate the feedback and consideration.

Thanks again,
Chris Marcellino

Attachment: win32.patch
Description: application/octet-stream (283 bytes)
Description: application/octet-stream (968 bytes)
Attachment: netbsd.patch
Description: application/octet-stream (345 bytes)
Attachment: openbsd.patch
Description: application/octet-stream (217 bytes)
Attachment: posix_shmem.c
Description: application/octet-stream (15.0 KB)


pgsql-patches by date

Next:From: Bruce MomjianDate: 2007-02-27 21:07:26
Subject: Re: FAQ_DEV Update: Fix Answer for Q 1.19, add Q on SCMS
Previous:From: Bruce MomjianDate: 2007-02-27 19:10:22
Subject: Re: [PATCHES] BUG #2969: Inaccuracies in Solaris FAQ

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group