Re: shmem_seq may be a bad idea
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Thomas Lockhart <lockhart@alumni.caltech.edu>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2000-05-02T21:35:57Z
Lists: pgsql-hackers
Thomas Lockhart writes: > > A while ago while thinking about a way to make ipcclean better I thunk > > that perhaps the postmaster should write the keys of the segments it gets > > to a flat-text file. If it somehow crashes and loses track of what it > > allocated before it can use that information to clean up. Not sure how > > often that would take effect but it's very socially friendly. > > Hmm. Could we write this to a separate shared memory segment? But how would ipcclean get to the key of *that* segment? I was thinking file because that'd always be in a known location and could also be accessible to humans to sort things out by hand or debug stuff. -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden