pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Pascal Robert <probert@os.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: Finding time in WAL logs
Date: Wed, 25 Apr 2007 16:43:09 +0100
Message-ID: <1177515789.20637.160.camel@silverbirch.site> (raw)
In-Reply-To: <5B0132B1-646A-432C-8261-973E4BB42999@os.ca>
References: <5B0132B1-646A-432C-8261-973E4BB42999@os.ca>

On Wed, 2007-04-25 at 11:28 -0400, Pascal Robert wrote:

> I'm writing our backup procedure for using WAL and PITR, but to be  
> able to do a (mostly) perfect PITR, I need to find the time when a  
> error (DELETE FROM, DROP TABLE, etc.) was made so that I can do a  
> restore just before the error.
> 
> Does PostgreSQL has something similar to "mysqlbinlog" so that I can  
> look at the content of a WAL archive ?  I tried enabling  
> "log_min_messages" at "info" level, but it doesn't log the date and  
> time of a executed statement, so that's not a solution.

http://pgfoundry.org/projects/xlogviewer/

I'd appreciate some feedback. I'll be looking to release a new version
within next few months.

-- 
  Simon Riggs             
  EnterpriseDB   http://www.enterprisedb.com





view thread (9+ messages)  latest in thread

Message-ID: <1177515789.20637.160.camel@silverbirch.site>
Permalink:  ../1177515789.20637.160.camel@silverbirch.site/
Also on:    postgresql.org/message-id/1177515789.20637.160.camel@silverbirch.site

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: simon@2ndquadrant.com, probert@os.ca
  Subject: Re: Finding time in WAL logs
  In-Reply-To: <1177515789.20637.160.camel@silverbirch.site>

* 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