Table update: restore or replace?

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Table update: restore or replace?
Дата
Msg-id alpine.LNX.2.20.1905141341311.30120@salmo.appl-ecosys.com
обсуждение исходный текст
Ответы Re: Table update: restore or replace?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список 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



В списке pgsql-general по дате отправления:

Предыдущее
От: Rene Romero Benavides
Дата:
Сообщение: Re: terminating walsender process due to replication timeout
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Table update: restore or replace?