Re: Shutting down a warm standby database in 8.2beta3
Stephen Harris <lists@spuddy.org>
From: Stephen Harris <lists@spuddy.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2006-11-30T14:11:30Z
Lists: pgsql-hackers, pgsql-general
On Thu, Nov 23, 2006 at 02:47:27PM -0500, Tom Lane wrote: > Stephen Harris <lists@spuddy.org> writes: > > OK, I just did the same tests on the CVS tree, rather than beta3 and > > I see different results. This time recovery aborts with a PANIC. > > Yeah, that's expected since the whole recovery process is a critical > section. We could change that but it's cosmetic. Should this cause a coredump when it happens? With rc1 whenever I do a shutdown I get a core file core: ELF 32-bit MSB core file SPARC Version 1, from 'postgres' (gdb) bt #0 0xff0a02d4 in _libc_kill () from /usr/lib/libc.so.1 #1 0xff035a5c in abort () from /usr/lib/libc.so.1 #2 0x0020cd50 in errfinish () #3 0x0006d258 in RestoreArchivedFile () -- rgds Stephen