Re: clock_timestamp() and transaction_timestamp() function

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: clock_timestamp() and transaction_timestamp() function
Дата
Msg-id Pine.LNX.4.44.0312011649130.23890-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: clock_timestamp() and transaction_timestamp() function  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: clock_timestamp() and transaction_timestamp() function
Список pgsql-patches
Tom Lane writes:

> This is a nonstarter, as is the previous proposal to have a single
> function with an explicit parameter that selects the behavior.  The
> reason is that any such function would have to be treated as completely
> non-optimizable.

Why?  We would just need to ensure that the mode cannot be changed at
critical times.

> I am unconvinced that anyone has really proven the need for
> statement_timestamp,

Compatibility with other database systems might be one (if it is
accessible through current_timestamp).

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: clock_timestamp() and transaction_timestamp() function
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: clock_timestamp() and transaction_timestamp() function