pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Marc Millas <marc.millas@mokadb.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Extract transactions from wals ??
Date: Thu, 21 Nov 2019 17:16:15 +0100
Message-ID: <b401ea8ced7c777a536006f598fd7d5be9cea172.camel@cybertec.at> (raw)
In-Reply-To: <CADX_1abk0MyP-xuQw2MSUuhw57KmHnsrKL8YJV5EwcHBh0YPSA@mail.gmail.com>
References: <CADX_1abgdEKNaMJxSykE6QJGs0HwrK1YU2ZSzZQv-CngiU_6bQ@mail.gmail.com>
	<355aa1f83ee7bf0b2f5296f46cf231fb1384b409.camel@cybertec.at>
	<CADX_1abk0MyP-xuQw2MSUuhw57KmHnsrKL8YJV5EwcHBh0YPSA@mail.gmail.com>

On Thu, 2019-11-21 at 17:07 +0100, Marc Millas wrote:
> you say "extract the data you need"
> That is exactly the point of my question, as the PITR step was obvious.
> How to guess "what is the data" I need ??

Well, you asked for the contents of a table AS OF TIMESTAMP <something>.

That means you know which table and which timestamp.

So restore the PostgreSQL cluster to that timestamp, connect
and SELECT from the table.

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






view thread (9+ messages)  latest in thread

Message-ID: <b401ea8ced7c777a536006f598fd7d5be9cea172.camel@cybertec.at>
Permalink:  ../b401ea8ced7c777a536006f598fd7d5be9cea172.camel@cybertec.at/
Also on:    postgresql.org/message-id/b401ea8ced7c777a536006f598fd7d5be9cea172.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, marc.millas@mokadb.com
  Subject: Re: Extract transactions from wals ??
  In-Reply-To: <b401ea8ced7c777a536006f598fd7d5be9cea172.camel@cybertec.at>
  References: <CADX_1abgdEKNaMJxSykE6QJGs0HwrK1YU2ZSzZQv-CngiU_6bQ@mail.gmail.com> <355aa1f83ee7bf0b2f5296f46cf231fb1384b409.camel@cybertec.at> <CADX_1abk0MyP-xuQw2MSUuhw57KmHnsrKL8YJV5EwcHBh0YPSA@mail.gmail.com> <b401ea8ced7c777a536006f598fd7d5be9cea172.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