Re: "DELETE FROM" protection - Mailing list pgsql-admin

From Dave Ewart
Subject Re: "DELETE FROM" protection
Date
Msg-id 20040220105607.GM3555@nemesis.ox.icnet.uk
Whole thread Raw
In response to Re: "DELETE FROM" protection  ("Matt Clark" <matt@ymogen.net>)
Responses Re: "DELETE FROM" protection
List pgsql-admin
On Friday, 20.02.2004 at 10:12 +0000, Matt Clark wrote:

> > So now with pgsql, when I am typing "DELETE FROM...." until I get to
> > the "WHERE" part of the statement, I get a little nervous because I
> > know hitting Enter by mistake will wipe out that table.  [...]

How about typing the "WHERE" part of the statement first, then
'left-arrowing' back to the start of the statement and do "DELETE FROM
..." *last*?

Dave.
--
Dave Ewart
Dave.Ewart@cancer.org.uk
Computing Manager, Epidemiology Unit, Oxford
Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370


pgsql-admin by date:

Previous
From: "Matt Clark"
Date:
Subject: Re: "DELETE FROM" protection
Next
From: Olivier Hubaut
Date:
Subject: Re: ANALYZE crashes randomly