pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Jill Jade <jill779ks@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Extract transaction from WAL
Date: Thu, 21 Nov 2019 15:42:30 +0100
Message-ID: <9ec989fc2b64327843f138cee5602cb5c0b59db8.camel@cybertec.at> (raw)
In-Reply-To: <CABGmvVOjpaRHTEmshfrd53D=Qwoa_D7jcnEN7Ymcec2YFFCGEQ@mail.gmail.com>
References: <CABGmvVOjpaRHTEmshfrd53D=Qwoa_D7jcnEN7Ymcec2YFFCGEQ@mail.gmail.com>

On Thu, 2019-11-21 at 12:11 +0400, Jill Jade wrote:
> I am new to Postgres and I have a query.
> 
>  I have updated a table which I should not have.
> 
>  Is there a way to extract the transactions from the WAL and get back the previous data?
> 
> Is there a tool that can help to get back the transactions?

This information is not contained in the WAL.

You'll have to restore a backup.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (4+ messages)  latest in thread

Message-ID: <9ec989fc2b64327843f138cee5602cb5c0b59db8.camel@cybertec.at>
Permalink:  ../9ec989fc2b64327843f138cee5602cb5c0b59db8.camel@cybertec.at/
Also on:    postgresql.org/message-id/9ec989fc2b64327843f138cee5602cb5c0b59db8.camel@cybertec.at

 · 

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-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, jill779ks@gmail.com
  Subject: Re: Extract transaction from WAL
  In-Reply-To: <9ec989fc2b64327843f138cee5602cb5c0b59db8.camel@cybertec.at>
  References: <CABGmvVOjpaRHTEmshfrd53D=Qwoa_D7jcnEN7Ymcec2YFFCGEQ@mail.gmail.com> <9ec989fc2b64327843f138cee5602cb5c0b59db8.camel@cybertec.at>

* 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