Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Michael FuhrDate: 2005-12-22 23:57:01
Subject: Re: lo_ functions
Previous:From: Tom LaneDate: 2005-12-22 23:21:38
Subject: Re: Create Index Locking Question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group