RE: Unanswered questions about Postgre

From: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
To: "'kislo(at)athenium(dot)com'" <kislo(at)athenium(dot)com>, Gordan Bobic <gordan(at)freeuk(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: RE: Unanswered questions about Postgre
Date: 2000-11-30 20:16:39
Message-ID: 8F4C99C66D04D4118F580090272A7A234D31BB@sectorbase1.sectorbase.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > That is what transactions are for. If any errors occur, then the
> > transacction is aborted. You are supposed to use
> > transactions when you want either everything to occur
> > (the whole transaction), or nothing, if an error occurs.
>
> Yes. There are certainly times when a transaction needs to be
> ABORTed. However, there are many reasons why the database should not
> abort a transaction if it does not need to. There is obviously no
> reason why a transaction needs to be aborted for syntax errors. There
> is obviously no reason why a transaction needs to be aborted for say,
> trying to insert a duplicate primary key. The -insert- can
> fail, report it as such, and the application can determine if a rollback
> is nessasary. If you don't believe me, here's two fully SQL-92
> compliant databases, Oracle and interbase, which do not exhibit this
behavior:

Oracle & Interbase have savepoints. Hopefully PG will also have them in 7.2

Vadim

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin A. Marques 2000-11-30 20:34:08 Re: Can PostGreSQL handle 100 user database?
Previous Message Alain Toussaint 2000-11-30 20:05:16 Re: Database cluster?