Rollback to a specific moment with PostgreSQL
- by mada54
Hi,
Is there a way to rollback to a specific starting point.
Im looking for something like this.
Start specific_point;
Now after this, an other application connected with the SAME login will insert & delete datas (webservices with crud operations)
for about 2 minutes doing tests. Each webservice call is declared as a transaction with Spring Ws.
After that i want to rollback to the specific_point to have a clean database to a known previous state.
I was thinking that
ROLLBACK TO SAVEPOINT foo; was the solution but not unfortunately?
Any idea ?
Configuration: PostgreSQL 8.4 / windows XP
Regards