Table update: restore or replace?

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Table update: restore or replace?
Date: 2019-05-14 20:46:32
Message-ID: alpine.LNX.2.20.1905141341311.30120@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I just updated a column in a table (postgresql-10.5) and accidently applied
it to all 185 rows rather than just one. There is no active transaction to
roll back.

Each night I do a backup and just started working on the database a few
minutes ago. If I restore all contents of
/var/lib/pgsql/10/data/ will this restore the database's state before the
botched update and two previous updates today?

Rich

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-05-14 20:57:34 Re: Table update: restore or replace?
Previous Message Rene Romero Benavides 2019-05-14 17:04:54 Re: terminating walsender process due to replication timeout