Re: transction_timestamp() inside of procedures

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: transction_timestamp() inside of procedures
Дата
Msg-id 20180921045536.GJ1338@paquier.xyz
обсуждение исходный текст
Ответ на transction_timestamp() inside of procedures  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: transction_timestamp() inside of procedures  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Thu, Sep 20, 2018 at 07:40:40PM -0400, Bruce Momjian wrote:
> This surprised me since I expected a new timestamp after commit.  Is
> this something we want to change or document?  Are there other
> per-transaction behaviors we should adjust?

I don't quite follow your argument here.  clock_timestamp is known to be
volatile, while the two others are stable, so its value can change
within a transaction.
--
Michael

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Proposal for Signal Detection Refactoring
Следующее
От: Andres Freund
Дата:
Сообщение: Re: transction_timestamp() inside of procedures