Re: random() (was Re: New GUC to sample log queries) - Mailing list pgsql-hackers

From Adrien NAYRAT
Subject Re: random() (was Re: New GUC to sample log queries)
Date
Msg-id 97e9e278-c0e1-0d49-b437-c8a65ca6b5f2@anayrat.info
Whole thread Raw
In response to random() (was Re: New GUC to sample log queries)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 12/26/18 7:45 PM, Tom Lane wrote:
> I wonder whether we should establish a project policy to avoid use
> of random() for internal purposes, ie try to get to a point where
> drandom() is the only caller in the backend.

FYI I picked the idea from auto_explain. Maybe we will have to change 
auto_explain too.


pgsql-hackers by date:

Previous
From: Vik Fearing
Date:
Subject: Re: Prepare Transaction support for ON COMMIT DROP temporary tables
Next
From: Alvaro Herrera
Date:
Subject: Re: removal of dangling temp tables