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

From mlw
Subject Re: HEADS UP: Win32/OS2/BeOS native ports
Date
Msg-id 3CD2CA46.85F78220@mohawksoft.com
Whole thread Raw
In response to Re: HEADS UP: Win32/OS2/BeOS native ports  ("Marc G. Fournier" <scrappy@hub.org>)
Responses Re: HEADS UP: Win32/OS2/BeOS native ports  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: HEADS UP: Win32/OS2/BeOS native ports  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
sysv shm/sem

I am writing a Win32 DLL implementation of :

int     semget(key_t key, int nsems, int semflg);
int     semctl(int semid, int semnum, int cmd, union semun arg);
int     semop(int semid, struct sembuf * sops, unsigned nsops);
int     shmctl(int shmid, int cmd, struct shmid_ds *buf);
int     shmget(key_t key, int size, int shmflg);
void *  shmat(int shmid, const void *shmaddr, int shmfl);
int     shmdt(const void *shmaddr);

I will donate it do PostgreSQL.

UNIX permissions will be ignored, i.e. uig/gid will be 0
Do you see any need for the msgxxx calls?
Is the function ipc() ever used?


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: set constraints behavior
Next
From: Lamar Owen
Date:
Subject: Re: a vulnerability in PostgreSQL