Re: WAL and pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike C <smith(dot)not(dot)western(at)gmail(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: WAL and pg_dump
Date: 2005-12-22 23:32:41
Message-ID: 1659.1135294361@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Mike C <smith(dot)not(dot)western(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2005-12-22 23:57:01 Re: lo_ functions
Previous Message Tom Lane 2005-12-22 23:21:38 Re: Create Index Locking Question