On 12/8/05, Martijn van Oosterhout <kleptog@xxxxxxxxx> wrote: > On Thu, Dec 08, 2005 at 12:29:11PM +0800, Kathy Lo wrote: > > > But this shouldn't be an issue here. If you set the IPC_RMID flag then > > > the kernel should remove the segment when all users go away. This is > > > standard IPC behaviour and is documentated in the manpage... > > > > > > > Would you please tell me where to find the manpage and how to set IPC_RMID > flag? > > See the shmctl() manpage: > > int shmctl(int shmid, int cmd, struct shmid_ds *buf); > > One of the command ids is IPC_RMID > Do I need to change the source code of postgresql if I want to set IPC_RMID flag to solve this problem? -- Kathy Lo