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

Dean Rasheed <dean.a.rasheed@gmail.com>

From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: Marcos Pegoraro <marcos@f10.com.br>
Cc: Damien Clochard <damien@dalibo.info>, Greg Sabino Mullane <htamfids@gmail.com>, Vik Fearing <vik@postgresfriends.org>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2025-09-10T16:59:08Z
Lists: pgsql-hackers

Attachments

On Wed, 10 Sept 2025 at 14:30, Marcos Pegoraro <marcos@f10.com.br> wrote:
>
> This patch adds functions func-datetime.sgml but those functions depend on setseed function, which is not there.
> Wouldn't it be good to add a note that setseed() will change the result of those random functions ?

Agreed. I think something like the attached ought to be sufficient.

Regards,
Dean