X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2C0B29DCCE9 for ; Thu, 22 Dec 2005 19:32:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 76817-06 for ; Thu, 22 Dec 2005 19:32:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id ABAEA9DCCDB for ; Thu, 22 Dec 2005 19:32:40 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jBMNWfRK001660; Thu, 22 Dec 2005 18:32:41 -0500 (EST) To: Mike C cc: Simon Riggs , pgsql-admin@postgresql.org Subject: Re: WAL and pg_dump In-reply-to: References: <1135208028.2964.329.camel@localhost.localdomain> Comments: In-reply-to Mike C message dated "Fri, 23 Dec 2005 10:09:28 +1300" Date: Thu, 22 Dec 2005 18:32:41 -0500 Message-ID: <1659.1135294361@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.036 required=5 tests=[AWL=0.036] X-Spam-Score: 0.036 X-Spam-Level: X-Archive-Number: 200512/282 X-Sequence-Number: 20002 Mike C writes: > I guess if pg_dump was modified to record the last complete transaction id > (in archive format maybe) then the WAL files could be used? No. pg_dump output and WAL files are at two utterly different levels of abstraction --- the WAL files describe the exact placement of tuples within tables and indexes, to mention just one example. There's no hope of using pg_dump output to reproduce the state of a database exactly enough that you could apply WAL files to it. regards, tom lane