Re: Parallel safety of CURRENT_* family - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Parallel safety of CURRENT_* family
Date
Msg-id 8557.1480619880@sss.pgh.pa.us
Whole thread Raw
In response to Parallel safety of CURRENT_* family  (<5bih4k+4jfl6m39j23k@guerrillamail.com>)
Responses Re: Parallel safety of CURRENT_* family
List pgsql-hackers
<5bih4k+4jfl6m39j23k@guerrillamail.com> writes:
> How should I mark a function which calls CURRENT_DATE? Parallel safe or parallel restricted?

> pg_proc shows that now() is marked as restricted, but transaction_timestamp() is marked as safe.

That's certainly silly, because they're equivalent.  I should think
they're both safe.  Robert?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgbench - allow backslash continuations in \set expressions
Next
From: Robert Haas
Date:
Subject: Re: Broken SSL tests in master