Re: HEADS UP: Win32/OS2/BeOS native ports - Mailing list pgsql-hackers

From Tom Lane
Subject Re: HEADS UP: Win32/OS2/BeOS native ports
Date
Msg-id 23481.1020470739@sss.pgh.pa.us
Whole thread Raw
In response to Re: HEADS UP: Win32/OS2/BeOS native ports  ("Igor Kovalenko" <Igor.Kovalenko@motorola.com>)
List pgsql-hackers
"Igor Kovalenko" <Igor.Kovalenko@motorola.com> writes:
> It does not have to be anonymous. POSIX also defines shm_open(same arguments
> as open) API which will create named object in whatever location corresponds
> to shared memory storage on that platform (object is then grown to needed
> size by ftruncate() and the fd is then passed to mmap). The object will
> exist in name space and can be detected by subsequent calls to shm_open()
> with same name. It is not really different from doing open(), but more
> portable (mmap() on regular files may not be supported).

Yes, but can you detect whether other processes have the same file open?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: a vulnerability in PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Using views and MS access via odbc