Re: transction_timestamp() inside of procedures

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: transction_timestamp() inside of procedures
Дата
Msg-id 20180921053425.GM1338@paquier.xyz
обсуждение исходный текст
Ответ на Re: transction_timestamp() inside of procedures  (Andres Freund <andres@anarazel.de>)
Ответы Re: transction_timestamp() inside of procedures  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Thu, Sep 20, 2018 at 10:12:06PM -0700, Andres Freund wrote:
> Isn't the point that transaction_timestamp() does *not* currently change
> its value, even though the transaction (although not the outermost
> statement) has finished?

Ouch, yes.  I see the point now.  Indeed that's strange to not have a
new transaction timestamp after commit within the DO block..

I need a break of a couple of minutes.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Function to promote standby servers
Следующее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: RE: Changing the setting of wal_sender_timeout per standby