Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 0FAB263FA52 for ; Mon, 23 Feb 2009 13:53:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 65238-02-9 for ; Mon, 23 Feb 2009 13:53:19 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mail.postgresql.org (Postfix) with ESMTP id 07A42634BDF for ; Mon, 23 Feb 2009 13:07:11 -0400 (AST) Received: by yx-out-2324.google.com with SMTP id 3so782067yxj.73 for ; Mon, 23 Feb 2009 09:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Yh+V3Ur8wmfZuPFOzgDfKcD0Ec1QVbbC8yQs5+Kt8Ec=; b=lS+YH/a68W94DLmZsF8WBDul1oWznQXpJ8dvC00x6RM0Y7EwEOGgKfGXt4GwwLsfqW FnM+Dmkwh6//Dmo4vpQ8NTZPSdw2UnXougoQIGeqPB59ERG2g1TsGYyEm5bSpjsGBUqF ToHdNU977X/UqkOiFDzNUzpef/J75uwkkI2Zc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jnu/WBkdpdDZ/k+v4qrllbf5A74oPDA3a7TfeQFFK0/eX+1BUx6US9SdyDz458YVr3 /WvXDa/ueWasuhBfgEs/DpqSQTvAumF52BPkVeFou6xXIfbPePzAdoBa37RwFyeUjlEr E42CFehvj/DlZepRFFBiwPTylqEa7S90/3pE4= MIME-Version: 1.0 Received: by 10.231.15.205 with SMTP id l13mr6324952iba.7.1235408831036; Mon, 23 Feb 2009 09:07:11 -0800 (PST) In-Reply-To: <49A2D39F.7060203@saga.it> References: <499EBEF0.1010408@saga.it> <49A2D39F.7060203@saga.it> Date: Mon, 23 Feb 2009 10:07:11 -0700 Message-ID: Subject: Re: Crash with data corruption under Windows From: Scott Marlowe To: Nicola Mauri Cc: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/196 X-Sequence-Number: 31417 On Mon, Feb 23, 2009 at 9:49 AM, Nicola Mauri wrote: > > -------- Messaggio Originale -------- > Oggetto: Re: [ADMIN] Crash with data corruption under Windows > Da: Scott Marlowe >> >> Usually when I see the permission denied thing there's anti-virus >> software hard locking pgsql files in the middle of the day. >> > > Have you experienced data loss too in that case? > (however, we already excluded pgsql directories from anti-virus scanning). I've not, but I rarely run postgresql under windows. When we do it's on a laptop for personal use / demo use. All our servers run Linux. However, on this list, when I've seen this happen, it has been known to result in data loss. Note that once your database is corrupted, no amount of fixing can make it safe to keep using. you need to get a good reliable dump from it, reinitdb and reload your data. So not trust a database that's gotten corrupted and seems mostly fixed. It's a timebomb.