Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5906~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5906
Choose a head ref
  • 2 commits
  • 6 files changed
  • 2 contributors

Commits on Sep 8, 2025

  1. Add date and timestamp variants of random(min, max).

    This adds 3 new variants of the random() function:
    
        random(min date, max date) returns date
        random(min timestamp, max timestamp) returns timestamp
        random(min timestamptz, max timestamptz) returns timestamptz
    
    Each returns a random value x in the range min <= x <= max.
    
    Author: Damien Clochard <[email protected]>
    Reviewed-by: Greg Sabino Mullane <[email protected]>
    Reviewed-by: Dean Rasheed <[email protected]>
    Reviewed-by: Vik Fearing <[email protected]>
    Reviewed-by: Chao Li <[email protected]>
    Discussion: https://postgr.es/m/[email protected]
    deanrasheed authored and Commitfest Bot committed Sep 8, 2025
    Configuration menu
    Copy the full SHA
    afa9aab View commit details
    Browse the repository at this point in the history
  2. [CF 5906] v4 - Generate random dates/times in a specified range

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5906
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/CAEZATCX_VQX9asjrwTXg0wTd6126Reo3yFxKno0QGJfviTwL4Q@mail.gmail.com
    Author(s): damien clochard
    Commitfest Bot committed Sep 8, 2025
    Configuration menu
    Copy the full SHA
    98fb24b View commit details
    Browse the repository at this point in the history
Loading