Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: DELETE with LIMIT (or my first hack) - Mailing list pgsql-hackers

From Dmitriy Igrishin
Subject Re: DELETE with LIMIT (or my first hack)
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: DELETE with LIMIT (or my first hack)  ("Kevin Grittner" <[email protected]>)
List pgsql-hackers
Hey,

I don't clearly understand why anybody should perform DELETE
directly from a psql terminal on a production system. WHY ?
I can't understand what problem with DELETE without WHERE clause
for application developers and why DBMS should "protect" them
from DELETE FROM table.

PS. Anybody can perform rm -rf from the shell as root. So what ?..


2010/12/1 Kevin Grittner <[email protected]>
Mario Weilguni <[email protected]> wrote:

> Is it really up to the database to decide what queries are ok?
> It's the task of the developers to test their applikations.

We're talking about ad hoc queries here, entered directly through
psql or similar.

-Kevin

--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



--
// Dmitriy.


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: DELETE with LIMIT (or my first hack)
Next
From: Tom Lane
Date:
Subject: Re: We really ought to do something about O_DIRECT and data=journalled on ext4