Re: Is there something similar like flashback query from Oracle planned for PostgreSQL - Mailing list pgsql-general

From Thomas Munro
Subject Re: Is there something similar like flashback query from Oracle planned for PostgreSQL
Date
Msg-id CA+hUKGKF3mdx+CYAfW-WqTbsk-N4y12N0xqiVL201dRxBu0ubA@mail.gmail.com
Whole thread Raw
In response to Is there something similar like flashback query from Oracle planned for PostgreSQL  (Dirk Krautschick <Dirk.Krautschick@trivadis.com>)
List pgsql-general
On Thu, Jun 24, 2021 at 6:54 AM Dirk Krautschick
<Dirk.Krautschick@trivadis.com> wrote:
> Is there something planned to get a behaviour like Oracle's flashback query based on the old values
> before deleted by vacuum?
>
> So a feature to recreate old versions of rows if still there?
>
> Or are there any related extensions or tools doing this?

There are some things like pg_dirtyread and probably more.  You might
be interested in some of the references in this thread:

https://www.postgresql.org/message-id/flat/CAKLmikOkK%2Bs0V%2B3Pi1vS2GUWQ0FAj8fEkVj9WTGSwZE9nRsCbQ%40mail.gmail.com

As for the SQL standard's approach to this, there are some active
-hackers threads on that with patches in development... look for
"temporal tables" and "system versioned".



pgsql-general by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: How to hash a large amount of data within Postgres?
Next
From: Tom Lane
Date:
Subject: Re: Partitioned Table Index Column Order