Re: now() vs transaction_timestamp()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: now() vs transaction_timestamp()
Дата
Msg-id 4268.1538747795@sss.pgh.pa.us
обсуждение исходный текст
Ответ на now() vs transaction_timestamp()  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Ответы Re: now() vs transaction_timestamp()
Список pgsql-hackers
Konstantin Knizhnik <k.knizhnik@postgrespro.ru> writes:
> Postgres documentation says that |"now()| is a traditional PostgreSQL 
> equivalent to |transaction_timestamp()|".
> Also both use the same implementation.

Right.

> But them have different parallel safety property:

That seems like a bug/thinko.  I am not sure which property setting is
correct though.  It'd only be safe if the parallel-query infrastructure
transfers the relevant timestamp to workers, and I don't know if it does.

            regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Relax transactional restrictions on ALTER ENUM ... ADD TYPE(redux)
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Libpq support to connect to standby server as priority