Обсуждение: Recover old record version

Поиск
Список
Период
Сортировка

Recover old record version

От
Jona
Дата:
Hi,
One of our developers has just managed to make an UPDATE on a table
without any WHERE clause to restrict it.
Thus a table with a few thousand records has suddenly become virtual
identical.

Currently no VACUUM has been run on that table (or the database for that
matter) thus it should be possible to recover an old version of the
records, right?
I'm basing my assumption on the documentation which states that PostGre
has better than row-level locking and keeps an old version of each
record until a vacuum occours.

How would I go about recovering one of the old version for all the
records ??

Please advice!

Cheers
Jona