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 28EE8534B4 for ; Tue, 12 Apr 2005 10:47:28 -0300 (ADT) 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 94581-05 for ; Tue, 12 Apr 2005 13:47:24 +0000 (GMT) Received: from hotmail.com (bay103-f40.bay103.hotmail.com [65.54.174.50]) by svr1.postgresql.org (Postfix) with ESMTP id A5430534B7 for ; Tue, 12 Apr 2005 10:47:24 -0300 (ADT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 12 Apr 2005 06:47:28 -0700 Message-ID: Received: from 65.54.174.200 by by103fd.bay103.hotmail.msn.com with HTTP; Tue, 12 Apr 2005 13:47:27 GMT X-Originating-IP: [65.54.174.200] X-Originating-Email: [alexzendel@hotmail.com] X-Sender: alexzendel@hotmail.com From: "Alex Zendel" To: pgsql-admin@postgresql.org Cc: alexzendel@hotmail.com Subject: question about wal and point in time recovery Date: Tue, 12 Apr 2005 07:47:27 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 12 Apr 2005 13:47:28.0253 (UTC) FILETIME=[2A8572D0:01C53F66] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=3.582 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, MSGID_FROM_MTA_HEADER, RCVD_IN_BL_SPAMCOP_NET X-Spam-Level: *** X-Archive-Number: 200504/166 X-Sequence-Number: 17179 hello all, i work in an organization that has a handful of people accessing a few ms access database files. i'm strongly considering porting everything to postgre (as the backend for access) for a number of obvious reasons, one of the most prominent ones would be the availability of a back up via the write ahead log. i've been reading up on the wal and point in time recovery in the online postgre manual. but i have a question about using it: is it possible to visually read the entries in the log? is it in binary format? can the log be modified before recovery occurs. my biggest concern is that somebody in my org, for example, deletes a field or fudges an update query that changes a foreign key to a single value - and therefore destroys table links. so what if this happens and nobody notices it for several weeks? is it possible to read the log and remove this field delete (i.e., remove the 'alter table x drop column y' statement)? or in the update the scenario, find the statement that reads 'update table x set x.y = "corrupt"' and then remove it from the log? then can we 'replay' the log and restore our database, sans the destructive statements? i am aware of the possibility of data corruption when attempting something like this, especially when multi-changes transactions were used. i don't intend to use the wal and pitr in these cases. .....anything else you feel that i should know about using postgre as a back end for access? thanks! az