From: Dave Ewart <Dave.Ewart@cancer.org.uk>
To: pgsql-admin@postgresql.org
Subject: Re: "DELETE FROM" protection
Date: Fri, 20 Feb 2004 10:56:07 +0000
Message-ID: <20040220105607.GM3555@nemesis.ox.icnet.uk> (raw)
In-Reply-To: <OAEAKHEHCMLBLIDGAFELGEKFEMAA.matt@ymogen.net>
References: <FKEOIJEHOIKIOEHCGNCLIENNEDAA.jer@highboard.com>
<OAEAKHEHCMLBLIDGAFELGEKFEMAA.matt@ymogen.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Dave.Ewart@cancer.org.uk
Subject: Re: "DELETE FROM" protection
In-Reply-To: <20040220105607.GM3555@nemesis.ox.icnet.uk>
References: <FKEOIJEHOIKIOEHCGNCLIENNEDAA.jer@highboard.com> <OAEAKHEHCMLBLIDGAFELGEKFEMAA.matt@ymogen.net> <20040220105607.GM3555@nemesis.ox.icnet.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox