Detecting uncommitted changes

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Detecting uncommitted changes
Дата
Msg-id jdd2q7$79p$1@dough.gmane.org
обсуждение исходный текст
Ответы Re: Detecting uncommitted changes
Список pgsql-general
Hi,

is there a way I can detect if the current session has any uncommitted changes?

I'm not trying to find uncommitted changes from other sessions (connections) only for the *current* one.

I thought there was a discussion on the mailing list that involved the txid_XXX functions, but I couldn't find that
anymore.

Background:
I'm trying to implement a "Do you want to commit your changes?" question in a SQL tool, when the user closes the
application.

Regards
Thomas

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

Предыдущее
От: Ben Chobot
Дата:
Сообщение: Re: invalid memory alloc request size
Следующее
От: Bill Moran
Дата:
Сообщение: Re: Detecting uncommitted changes