From: Markus Schaber <schabi@logix-tt.com>
To: Daniel Drotos <drdani@mazsola.iit.uni-miskolc.hu>
Cc: pgsql-sql@postgresql.org
Subject: Re: deleting rows in specific order
Date: Wed, 11 Oct 2006 14:48:26 +0200
Message-ID: <452CE81A.5010001@logix-tt.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0610092207210.24332@mazsola.iit.uni-miskolc.hu>
References: <Pine.LNX.4.61.0610092207210.24332@mazsola.iit.uni-miskolc.hu>
Hi, Daniel,
Daniel Drotos wrote:
> What is the best way to do something like:
>
> delete from tablename where something order by somefield...
There should be no need for this, because a delete is atomic due to the
transaction system.
What is it that you're trying to achieve with the ordered delete? Maybe
there's a better way to solve your underlying problem.
HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: schabi@logix-tt.com, drdani@mazsola.iit.uni-miskolc.hu
Subject: Re: deleting rows in specific order
In-Reply-To: <452CE81A.5010001@logix-tt.com>
* 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