Re: Re: Failed Statements within Transactions

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Re: Failed Statements within Transactions
Дата
Msg-id 200101030021.TAA12493@jupiter.jw.home
обсуждение исходный текст
Ответ на Re: Failed Statements within Transactions  (Tim Kientzle <kientzle@acm.org>)
Список pgsql-general
Tim Kientzle wrote:
> [...]
>
> Basically, the PostgreSQL developers have decided
> that any integrity violation is a serious error;
> therefore, PostgreSQL does not really permit
> tentative INSERTs within transactions.  This violates
> SQL conventions that are pretty well-established
> in some circles, needlessly complicates
> applications that use complex transactions
> and introduces a fairly minor performance issue.

    We haven't, it's just that our code inherited this feature by
    the way, ROLLBACK is implemented - and if you'd know  only  a
    little  about  the  storage  management  in PostgreSQL, you'd
    never  tell  it  the  way  you   did.    With   the   current
    implementation  of  tuple  visibility  there  is only all-or-
    nothing. Savepoints will get us out of there, but not  before
    7.2 or 7.3.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: cyrillic and sort order (ORDER BY)
Следующее
От: Artur Pietruk
Дата:
Сообщение: Re: ECPG could not connect to the database.