Re: [PATCH] Generate random dates/times in a specified range - Mailing list pgsql-hackers

From Chao Li
Subject Re: [PATCH] Generate random dates/times in a specified range
Date
Msg-id 9891196B-46DA-4F97-BF36-DC7586EF49DE@gmail.com
Whole thread Raw
In response to Re: [PATCH] Generate random dates/times in a specified range  (Damien Clochard <damien@dalibo.info>)
Responses Re: [PATCH] Generate random dates/times in a specified range
List pgsql-hackers


On Aug 26, 2025, at 22:17, Damien Clochard <damien@dalibo.info> wrote:

Le 25.08.2025 15:33, Greg Sabino Mullane a écrit :
Your v3 did not get attached to the previous email.

My bad, here it is

--
Damien Clochard<v3-0001-Generate-random-dates-times-in-a-specified-range.patch>

Code change looks good to me. Maybe we can make check_range_boundaries() “inline” as well.

But a major problem is, I think we should bump CATALOG_VERSION_NO. Otherwise, running your code with an existing database, the new functions won’t work.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/




pgsql-hackers by date:

Previous
From: shveta malik
Date:
Subject: Re: Improve pg_sync_replication_slots() to wait for primary to advance
Next
From: Julien Tachoires
Date:
Subject: Re: Qual push down to table AM