[PATCH] random_normal function - Mailing list pgsql-hackers

From Paul Ramsey
Subject [PATCH] random_normal function
Date
Msg-id CACowWR0DqHAvOKUCNxTrASFkWsDLqKMd6WiXvVvaWg4pV1BMnQ@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] random_normal function
Re: [PATCH] random_normal function
Re: [PATCH] random_normal function
List pgsql-hackers
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.

random_normal(stddev float8 DEFAULT 1.0, mean float8 DEFAULT 0.0)

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: sendFileWithContent() does not advance the source pointer
Next
From: Andres Freund
Date:
Subject: Re: Error-safe user functions