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

From Damien Clochard
Subject Re: [PATCH] Generate random dates/times in a specified range
Date
Msg-id 385bf869903f91aea778c16652cf0874@dalibo.info
Whole thread Raw
In response to Re: [PATCH] Generate random dates/times in a specified range  (Vik Fearing <vik@postgresfriends.org>)
Responses Re: [PATCH] Generate random dates/times in a specified range
List pgsql-hackers
Le 24.07.2025 20:24, Vik Fearing a écrit :
>> [...]
> 
> Just a small cosmetic gripe, the regression test comments are usually
> "-- ok" and "--fail", and not "--  Should error".
> 

Thanks Vik!

Here's a third version with the following changes:

* Rebase from master
* Replace 'Should error' by 'fail' in the test file
* move documentation from func.sgml to func/func-datetime.sgml

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.

-- 
Damien Clochard



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Conflict detection for update_deleted in logical replication
Next
From: Amit Kapila
Date:
Subject: Re: [BUG?] check_exclusion_or_unique_constraint false negative