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: 90B70AF8-F452-40BA-A832-2D560C2CC371@apple.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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 configure.in file is,
of course, required.

I appreciate the feedback and consideration.

Thanks again,
Chris Marcellino

Attachment Content-Type Size
win32.patch application/octet-stream 283 bytes
configure.in.patch application/octet-stream 968 bytes
netbsd.patch application/octet-stream 345 bytes
openbsd.patch application/octet-stream 217 bytes
posix_shmem.c application/octet-stream 15.0 KB

Responses

Browse pgsql-patches by date

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