pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: L.Boldareva <pg@pierro.dds.nl>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to recover when can't start database
Date: Fri, 01 Apr 2005 11:10:05 -0500
Message-ID: <6883.1112371805@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.58.0504011732040.19842@yafa.dds.nl>
References: <Pine.LNX.4.58.0504011149340.17008@yafa.dds.nl>
	<6531.1112368973@sss.pgh.pa.us>
	<Pine.LNX.4.58.0504011732040.19842@yafa.dds.nl>

"L.Boldareva" <pg@pierro.dds.nl> writes:
> Here is how I got it crashed:
> I compiled a c-procedure and copied the .so file to its place exactly at a
> time when (quite unfortunately) another query was running, that used that
> library.

Hmm, at worst that should only crash one backend, not result in bad data
getting into the WAL log.  If there was no filesystem crash then I have
to suppose that the page number entered in the WAL page split record was
wrong ... but how could that happen if the same page number had just
been used successfully to read the page?

			regards, tom lane



view thread (11+ messages)  latest in thread

Message-ID: <6883.1112371805@sss.pgh.pa.us>
Permalink:  ../6883.1112371805@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6883.1112371805@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@pierro.dds.nl
  Subject: Re: How to recover when can't start database
  In-Reply-To: <6883.1112371805@sss.pgh.pa.us>
  References: <Pine.LNX.4.58.0504011149340.17008@yafa.dds.nl> <6531.1112368973@sss.pgh.pa.us> <Pine.LNX.4.58.0504011732040.19842@yafa.dds.nl> <6883.1112371805@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox