X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D9ECF53349 for ; Fri, 1 Apr 2005 17:19:02 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 79397-02 for ; Fri, 1 Apr 2005 16:19:01 +0000 (GMT) Received: from otto2.isd-holland.nl (otto.isd-holland.nl [62.221.254.21]) by svr1.postgresql.org (Postfix) with ESMTP id 3562F53364 for ; Fri, 1 Apr 2005 17:19:00 +0100 (BST) Received: from shell.dds.nl (shell.dds.nl [213.196.11.31]) by otto2.isd-holland.nl (Postfix) with ESMTP id 927FA364011; Fri, 1 Apr 2005 18:18:59 +0200 (CEST) Date: Fri, 1 Apr 2005 18:19:04 +0200 (CEST) From: "L.Boldareva" X-X-Sender: pierro@yafa.dds.nl To: Tom Lane Cc: pgsql-admin@postgresql.org Subject: Re: How to recover when can't start database In-Reply-To: <6883.1112371805@sss.pgh.pa.us> Message-ID: References: <6531.1112368973@sss.pgh.pa.us> <6883.1112371805@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/18 X-Sequence-Number: 17031 On Fri, 1 Apr 2005, Tom Lane wrote: > "L.Boldareva" 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 I have no idea Tell me where to look, I'll have a look in the tar. I'd rather not reproduce the thing, but if someone is interested, I can try that, too (later). regards, LB >