atom feed44 messages in org.postgresql.pgsql-hackersRe: New feature request: FlashBack Query
FromSent OnAttachments
RPKFeb 17, 2007 6:49 am 
Joshua D. DrakeFeb 17, 2007 7:50 am 
Tom LaneFeb 17, 2007 8:48 am 
eleinFeb 17, 2007 4:06 pm 
Chad WagnerFeb 17, 2007 4:43 pm 
Joshua D. DrakeFeb 17, 2007 7:21 pm 
Chad WagnerFeb 17, 2007 7:49 pm 
Tom LaneFeb 17, 2007 9:31 pm 
Warren TurkalFeb 17, 2007 10:46 pm 
Hannu KrosingFeb 18, 2007 1:45 pm 
Joshua D. DrakeFeb 18, 2007 2:27 pm 
Andreas 'ads' ScherbaumFeb 19, 2007 1:53 am 
Hannu KrosingFeb 19, 2007 4:36 am 
Florian G. PflugFeb 19, 2007 6:13 am 
Alvaro HerreraFeb 19, 2007 6:27 am 
Zeugswetter Andreas ADI SDFeb 19, 2007 6:32 am 
Zeugswetter Andreas ADI SDFeb 19, 2007 6:38 am 
Florian G. PflugFeb 19, 2007 6:59 am 
Gregory StarkFeb 19, 2007 7:18 am 
tom...@tuxteam.deFeb 19, 2007 8:18 am 
August ZajoncFeb 19, 2007 10:09 am 
Florian G. PflugFeb 19, 2007 11:30 am 
August ZajoncFeb 19, 2007 12:00 pm 
Tom LaneFeb 19, 2007 7:39 pm 
Jonah H. HarrisFeb 19, 2007 8:53 pm 
Gregory StarkFeb 20, 2007 12:58 am 
RPKFeb 20, 2007 3:25 am 
Andrew DunstanFeb 20, 2007 4:42 am 
Jonah H. HarrisFeb 20, 2007 7:19 am 
Rod TaylorFeb 20, 2007 7:42 am 
Hannu KrosingFeb 20, 2007 8:02 am 
Gregory StarkFeb 20, 2007 8:28 am 
August ZajoncFeb 20, 2007 8:39 am 
RPKFeb 20, 2007 10:27 am 
Tom LaneFeb 20, 2007 10:40 am 
Theo SchlossnagleFeb 20, 2007 10:45 am 
Jonah H. HarrisFeb 20, 2007 11:48 am 
Jonah H. HarrisFeb 20, 2007 12:03 pm 
August ZajoncFeb 20, 2007 7:30 pm 
Csaba NagyFeb 21, 2007 1:17 am 
Florian G. PflugFeb 21, 2007 6:01 am 
Alvaro HerreraFeb 21, 2007 6:13 am 
Florian G. PflugFeb 21, 2007 7:08 am 
August ZajoncMar 1, 2007 9:48 am 
Subject:Re: New feature request: FlashBack Query
From:RPK (rohi@indiatimes.com)
Date:Feb 20, 2007 10:27:16 am
List:org.postgresql.pgsql-hackers

Andrew,

Demanding unlimited undo at some time that is arbitrarilly distant in the future strikes me as wholly unreasonable.

I did not mean asking for undo from a life-time log. Since FlashBack Technology is already there, I just mean that world's most advanced database (PostgreSQL, as they say), must have an optimized way for undoing of at least a week changes. A week log is enough and PostgreSQL can keep on removing old logs automatically.

Secondly, it must be left to the user to decide for the number of days of archive he want to store. Again upto a week max.

RPK wrote:

I agree that TimeStamp creates an overhead, but I just want to know if an accidental update happened to a table and this incident got traced three days after, what facility PGSQL provide to bring the table to its original condition. You can't wait regretting on why you did not run ROLLBACK before COMMIT. (Correct me. I am only a user).

Why the heck can't you create a reversing transaction? That's what ordinary mortals do. Demanding unlimited undo at some time that is arbitrarilly distant in the future strikes me as wholly unreasonable.

What do you mean by "accidental update"? What you really appear to mean is that a program or a human operator has made an error, and incorrectly told the database to commit a transaction. The answer surely is to correct the behaviour of the program or human, rather than wanting the database to provide an undo facility. Alternatively, this should be handled at the application layer, using something like table_log.

Some things just don't work well with this sort of facility. Just ask your bookie if you can undo a bet that you "accidentally" placed with him and which, three days later, you discover (after the race) was a mistake.

cheers

andrew