=== Applying patches on top of PostgreSQL commit ID b421223172a28db2e724d5e35304097fe68a1e38 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. Mon Aug 11 04:08:17 UTC 2025 On branch cf/5906 nothing to commit, working tree clean === using 'git am' to apply patch ./v2-0001-Generate-random-dates-times-in-a-specified-range.patch === Applying: Generate random dates/times in a specified range Using index info to reconstruct a base tree... A doc/src/sgml/func.sgml M src/include/catalog/pg_proc.dat Falling back to patching base and 3-way merge... Auto-merging src/include/catalog/pg_proc.dat CONFLICT (modify/delete): doc/src/sgml/func.sgml deleted in HEAD and modified in Generate random dates/times in a specified range. Version Generate random dates/times in a specified range of doc/src/sgml/func.sgml left in tree. error: Failed to merge in the changes. hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 Generate random dates/times in a specified range When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". Unstaged changes after reset: M src/backend/utils/adt/pseudorandomfuncs.c M src/include/catalog/pg_proc.dat M src/test/regress/expected/random.out M src/test/regress/sql/random.sql Removing doc/src/sgml/func.sgml === using patch(1) to apply patch ./v2-0001-Generate-random-dates-times-in-a-specified-range.patch === can't find file to patch at input line 28 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From a731699566537544652cd09d5ac58ea99bceb2a3 Mon Sep 17 00:00:00 2001 |From: damien |Date: Thu, 3 Jul 2025 13:13:30 +0000 |Subject: [PATCH v2] Generate random dates/times in a specified range | |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 one returns a random date/timestamp value t in the range min <= t <= max. | |These functions all rely on the pg_prng_int64_range function developed in |PG 17 for the random(bigint,bigint) function. |--- | doc/src/sgml/func.sgml | 20 ++++ | src/backend/utils/adt/pseudorandomfuncs.c | 106 ++++++++++++++++++++-- | src/include/catalog/pg_proc.dat | 12 +++ | src/test/regress/expected/random.out | 87 ++++++++++++++++++ | src/test/regress/sql/random.sql | 26 ++++++ | 5 files changed, 243 insertions(+), 8 deletions(-) | |diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml |index de5b5929ee0..9677ffa619d 100644 |--- a/doc/src/sgml/func.sgml |+++ b/doc/src/sgml/func.sgml -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patching file src/backend/utils/adt/pseudorandomfuncs.c patching file src/include/catalog/pg_proc.dat patching file src/test/regress/expected/random.out patching file src/test/regress/sql/random.sql Unstaged changes after reset: M src/backend/utils/adt/pseudorandomfuncs.c M src/include/catalog/pg_proc.dat M src/test/regress/expected/random.out M src/test/regress/sql/random.sql === using 'git apply' to apply patch ./v2-0001-Generate-random-dates-times-in-a-specified-range.patch === error: doc/src/sgml/func.sgml: does not exist in index Applied patch to 'src/backend/utils/adt/pseudorandomfuncs.c' cleanly. Applied patch to 'src/include/catalog/pg_proc.dat' cleanly. Applied patch to 'src/test/regress/expected/random.out' cleanly. Applied patch to 'src/test/regress/sql/random.sql' cleanly.