Undoing a typo?

Поиск
Список
Период
Сортировка
От Steven Ames
Тема Undoing a typo?
Дата
Msg-id 001c01c2a06a$a9292a20$2bd90c42@officescape.net
обсуждение исходный текст
Ответ на Yikes  ("Chad Thompson" <chad@weblinkservices.com>)
Ответы Re: Undoing a typo?  (Garrett Bladow <bbladow@sendit.nodak.edu>)
Список pgsql-novice
This is a truly novice question but here goes:
 
Yesterday I was on the command line and issued an UPDATE command. Right after I hit the ENTER key I realized that I forgot to put the WHERE clause in... so... every entry in the table got the update. Ooops. Since I hadn't updated this particular table in a while I just dropped it and put it back in from a backup.
 
My question is... is there a clever way to undo or rollback a mistake you make at the 'psql' prompt?
 
-Steve
 

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

Предыдущее
От: "Chad Thompson"
Дата:
Сообщение: Yikes
Следующее
От: Garrett Bladow
Дата:
Сообщение: Re: Undoing a typo?