AW: AW: AW: [HACKERS] TRANSACTIONS

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: AW: AW: [HACKERS] TRANSACTIONS
Дата
Msg-id 219F68D65015D011A8E000006F8590C604AF7CF9@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
> > I suspect that most applications don't notice the difference.   Most
> > will catch errors and roll back the current transaction, because that's
> > the logical thing to do in most cases.
> 
> You are assuming that the app has the intelligence to do so.  A psql
> script, for example, lacks that intelligence.

I thought that psql is the only frontend that would not have a problem
with the new behavior, because it now has the feature of "exit on first
error"
and thus rolls back the last open transaction anyway.

> I do agree that this is an area where we need to do some work, but
> it's not going to be a simple or small change.  We will need nested-
> transaction support in the backend, and some very careful rethinking
> of the client interfaces to try to avoid breaking existing apps.

Yes, unfortunately.

Andreas


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0
Следующее
От: Rolf Grossmann
Дата:
Сообщение: Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0