Re: Logging the feature of SQL-level read/write commits - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Logging the feature of SQL-level read/write commits
Date
Msg-id 20190505120902.cmoyu5mzysmgccok@momjian.us
Whole thread Raw
List pgsql-hackers
On Sat, May  4, 2019 at 02:32:06PM +0900, Ronny Ko wrote:
> Hi,
> 
> I am trying to efficiently rollback a manually selectedd subset of committed
> SQL transactions by scanning an SQL transaction log. This feature is useful
> when a database administrator wants to rollback not the entire database system,
> but only particular SQL statements that affect a certain set of SQL tables.
> Unfortunately, this is impossible in the current PostgreSQL setup, because
> PostgreSQL's WAL(Write-Ahead Log) file doesn't provide any SQL statement-level
> redo records, but only physical block-level redo records.

My blog entry covers some of this:

    https://momjian.us/main/blogs/pgblog/2019.html#March_6_2019

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



pgsql-hackers by date:

Previous
From: legrand legrand
Date:
Subject: Re: Logging the feature of SQL-level read/write commits
Next
From: Amit Kapila
Date:
Subject: Re: Unhappy about API changes in the no-fsm-for-small-rels patch