pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mike C <smith.not.western@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: WAL and pg_dump
Date: Thu, 22 Dec 2005 18:32:41 -0500
Message-ID: <1659.1135294361@sss.pgh.pa.us> (raw)
In-Reply-To: <bd0eabd0512221309r5bcb41e2s69e9a7fdc8cb9edb@mail.gmail.com>
References: <bd0eabd0512121418h4c39a3e6mc71947264e18656f@mail.gmail.com>
	<1135208028.2964.329.camel@localhost.localdomain>
	<bd0eabd0512221309r5bcb41e2s69e9a7fdc8cb9edb@mail.gmail.com>

Mike C <smith.not.western@gmail.com> 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



view thread (12+ messages)  latest in thread

Message-ID: <1659.1135294361@sss.pgh.pa.us>
Permalink:  ../1659.1135294361@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1659.1135294361@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, smith.not.western@gmail.com, simon@2ndquadrant.com
  Subject: Re: WAL and pg_dump
  In-Reply-To: <1659.1135294361@sss.pgh.pa.us>
  References: <bd0eabd0512121418h4c39a3e6mc71947264e18656f@mail.gmail.com> <1135208028.2964.329.camel@localhost.localdomain> <bd0eabd0512221309r5bcb41e2s69e9a7fdc8cb9edb@mail.gmail.com> <1659.1135294361@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