View Single Post

   
  #4 (permalink)  
Old 04-18-2008, 09:45 AM
Bruce Momjian
 
Posts: n/a
Default Re: POSIX Shared memory, revised, again


Your patch has been added to the PostgreSQL unapplied patches list at:

http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------


Chris Marcellino wrote:
> 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, skipping... ]

[ Attachment, skipping... ]

[ Attachment, skipping... ]

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly


--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote