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 <pgsql-general@lists.postgresql.org>
Subject: Re: Extract transactions from wals ??
Date: Fri, 22 Nov 2019 10:07:04 +0100
Message-ID: <567df5c72f22bd452c68668d5dfa0a2540d0e64a.camel@cybertec.at> (raw)
In-Reply-To: <CADX_1aY2XWTW7qRih9KfWU_zBGa5Q0NfPdxGh2CHL+P9cXgfxQ@mail.gmail.com>
References: <CADX_1abgdEKNaMJxSykE6QJGs0HwrK1YU2ZSzZQv-CngiU_6bQ@mail.gmail.com>
	<355aa1f83ee7bf0b2f5296f46cf231fb1384b409.camel@cybertec.at>
	<CADX_1abk0MyP-xuQw2MSUuhw57KmHnsrKL8YJV5EwcHBh0YPSA@mail.gmail.com>
	<b401ea8ced7c777a536006f598fd7d5be9cea172.camel@cybertec.at>
	<CADX_1aY2XWTW7qRih9KfWU_zBGa5Q0NfPdxGh2CHL+P9cXgfxQ@mail.gmail.com>

On Thu, 2019-11-21 at 17:35 +0100, Marc Millas wrote:
> I was writing select from ""table"" as a template. We have to do this for a bunch of tables.
> So, to my understanding, what you suggest is to PITR up to the first timestamp,
> extract all meaningfull tables, and then pitr to the second timestamp
> so as to be able to script a kind of "diff" between the 2 to get what I want.

Sure, you can do that.

The description of what you wanted to do was rather unclear, all I could
make out is that you want to query AS OF TIMESTAMP.

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






view thread (9+ messages)  latest in thread

Message-ID: <567df5c72f22bd452c68668d5dfa0a2540d0e64a.camel@cybertec.at>
Permalink:  ../567df5c72f22bd452c68668d5dfa0a2540d0e64a.camel@cybertec.at/
Also on:    postgresql.org/message-id/567df5c72f22bd452c68668d5dfa0a2540d0e64a.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: <567df5c72f22bd452c68668d5dfa0a2540d0e64a.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> <CADX_1aY2XWTW7qRih9KfWU_zBGa5Q0NfPdxGh2CHL+P9cXgfxQ@mail.gmail.com> <567df5c72f22bd452c68668d5dfa0a2540d0e64a.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