Re: [PATCH] random_normal function - Mailing list pgsql-hackers

From Joe Conway
Subject Re: [PATCH] random_normal function
Date
Msg-id 25ec598b-0f3e-319a-8867-edddeb345129@joeconway.com
Whole thread Raw
In response to Re: [PATCH] random_normal function  (Paul Ramsey <pramsey@cleverelephant.ca>)
Responses Re: [PATCH] random_normal function  (Paul Ramsey <pramsey@cleverelephant.ca>)
List pgsql-hackers
On 12/9/22 13:51, Paul Ramsey wrote:
>> On Dec 9, 2022, at 10:39 AM, Mark Dilger <mark.dilger@enterprisedb.com> wrote:
>>> On Dec 8, 2022, at 1:53 PM, Paul Ramsey <pramsey@cleverelephant.ca> wrote:
>>> 
>>> Just a utility function to generate random numbers from a normal
>>> distribution. I find myself doing this several times a year, and I am
>>> sure I must not be the only one.
>> 
>> Thanks for the patch.  What do you think about these results?
> 
> Angels on pins time! :)

I just noticed this thread -- what is lacking in the normal_rand() 
function in the tablefunc contrib?

https://www.postgresql.org/docs/current/tablefunc.html#id-1.11.7.52.5

-- 
Joe Conway
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com




pgsql-hackers by date:

Previous
From: Paul Ramsey
Date:
Subject: Re: [PATCH] random_normal function
Next
From: Paul Ramsey
Date:
Subject: Re: [PATCH] random_normal function