Re: Read data from WAL - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Read data from WAL
Date
Msg-id 20130808232756.GD6883@momjian.us
Whole thread Raw
In response to Re: Read data from WAL  (Baldur Þór Emilsson <baldur@baldur.biz>)
List pgsql-general
On Mon, Jul 15, 2013 at 01:34:01PM +0000, Baldur Þór Emilsson wrote:
> Thank you all for your responses. I'm aware of xlogdump but I'm afraid it does
> not help me with readign the data in the WAL. It is mainly "for debugging or
> educational purposes" (citing the docs) and it outputs a lot of information
> about the WAL records but not the contents of them (e.g. it says where an
> INSERT wrote the data, but not what the data is). Please correct me if I'm
> mistaken.
>
> What I'm looking for is a way to read the data that is inserted into the
> database. I was hoping there was some known way of doing that to save me the
> time it takes to patch Postgres to do that.

There is no way to decode the WAL data as the decoding information is in
the database and not easily available to an external tool.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Postgres won't start
Next
From: Sergey Konoplev
Date:
Subject: Re: How to avoid Force Autovacuum