> > In Linux, yes. Not sure about other OSes. > > You can turn off the dumping of shared memory with some unusably > unfriendly bitwise arithmetic using the "coredump_filter" file in /proc > for the process. (It's inherited by children, so you can just set it > once for postmaster at server start time). >
Yes Linux. This is very helpful, thanks. A follow-up question - will it take postgres a really long time to crash (and hopefully recover) if I have say 1T of RAM because it has to write that all out to a core file first? Thanks, Jeremy