Re: now() vs transaction_timestamp() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: now() vs transaction_timestamp()
Date
Msg-id 5370.1538775167@sss.pgh.pa.us
Whole thread Raw
In response to Re: now() vs transaction_timestamp()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> So transaction_timestamp() is definitely buggy, but we're not out of the
> woods yet: SQLValueFunction is treated as parallel-safe, but it also has
> some instances that are equivalent to transaction_timestamp and so do not
> work correctly.

Oh, and I notice that timestamp_in and related functions are marked
parallel safe, which is equally broken since the conversion of 'now'
also depends on xactStartTimestamp.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: now() vs transaction_timestamp()
Next
From: David Fetter
Date:
Subject: Re: Early WIP/PoC for inlining CTEs