On 5 Dec 2014, at 22:41, Jim Nasby <jim.na...@bluetreble.com> wrote:
> 
> 
> Perhaps we should also officially recommend production servers be setup to 
> create core files. AFAIK the only downside is the time it would take to write 
> a core that's huge because of shared buffers, but perhaps there's some way to 
> avoid writing those? (That means the core won't help if the bug is due to 
> something in a buffer, but that seems unlikely enough that the tradeoff is 
> worth it...)

Good idea.  It seems the madvise() system call (with MADV_DONTDUMP) is exactly 
what's needed to avoid dumping shared buffers.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to