Win32 shmem

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Win32 shmem
Date: 2007-03-19 18:35:59
Message-ID: 20070319183559.GA13142@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Attached is a first attempt at a "native win32 shmem implementatio",
based on previous discussions. Instead of emulating the sysv stuff. The
base stuff (using mapped pagefile) is still the same, of course.

Needs more testing, but has survived my tests so far. And unlike the
previous implementation, it does properly refuse to start a second
postmaster in a data directory where there is one or more backends still
running.

Does it seem like I've overlooked anything obvious in this? I do get the
feeling that this is too simple, but I don't know exactly where the
problem is :-)

//Magnus

Attachment Content-Type Size
win32_shmem.c text/x-csrc 6.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2007-03-19 19:44:44 bgwriter stats
Previous Message Mark Stosberg 2007-03-19 17:47:20 Re: suggestion for improving TMPDIR and "--format" docs for pg_dump