Undoing a typo? - Mailing list pgsql-novice

From Steven Ames
Subject Undoing a typo?
Date
Msg-id 001c01c2a06a$a9292a20$2bd90c42@officescape.net
Whole thread Raw
In response to Yikes  ("Chad Thompson" <chad@weblinkservices.com>)
Responses Re: Undoing a typo?
List 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 by date:

Previous
From: "Chad Thompson"
Date:
Subject: Yikes
Next
From: Garrett Bladow
Date:
Subject: Re: Undoing a typo?