Re: [Minor] Improvement on random functions doc

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Matemática A3K <matematica(dot)a3k(at)gmail(dot)com>
Cc: "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: [Minor] Improvement on random functions doc
Date: 2026-10-20 17:09:50
Message-ID: CAKFQuwaxsy6TV=H6mhtH7-m_Ps_XmO3ZvWCPZNH=fZNGbeG4=w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Oct 20, 2026 at 8:40 AM Matemática A3K <matematica(dot)a3k(at)gmail(dot)com>
wrote:

> The probabilistic distribution used in random() and random(min, max)
> is not stated (whereas in random_normal() is).
>

The docs make the, IMO, reasonable assumption that "all values have an
equal chance of appearing" is what people understand by a simple "random"
selection procedure. Calling it uniform when the target audience may not
usually be exposed to the terminology is not necessarily helpful here.

David J.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Matemática A3K 2026-10-20 18:54:10 Re: [Minor] Improvement on random functions doc
Previous Message Matemática A3K 2026-10-20 15:40:40 [Minor] Improvement on random functions doc