Re: [PATCH] Generate random dates/times in a specified range

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: Damien Clochard <damien(at)dalibo(dot)info>
Cc: Vik Fearing <vik(at)postgresfriends(dot)org>, Greg Sabino Mullane <htamfids(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Generate random dates/times in a specified range
Date: 2025-08-27 11:35:26
Message-ID: CAEZATCUaxZjmV7i6OGn5cCvuqzb0kGQzEPE9Md97pwVM79VqKQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 25 Aug 2025 at 12:42, Damien Clochard <damien(at)dalibo(dot)info> wrote:
>
> Note that former random function variants are documented in
> func/func-math.sgml but it felt more logical to document the new
> variants in func-datetime.sgml. As a result the random variants would be
> documented in 2 separate sections of chapter 9.

Note the paragraph below the table listing the current random
functions, explaining the PRNG and the interaction with setseed(). If
you document the new functions in a separate section, that text would
need updating to refer to 2 separate locations (and possibly more in
the future), which seems a little messy. So I think it would be better
to keep documenting all the random functions together in the same
table.

Regards,
Dean

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2025-08-27 12:07:53 RE: POC: enable logical decoding when wal_level = 'replica' without a server restart
Previous Message Dean Rasheed 2025-08-27 11:12:56 Re: Fix replica identity checks for MERGE command on published table.