model-writtenrun 3568 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Dean Rasheed proposed three random(min, max) overloads with inclusive bounds and uniform results, avoiding overflow and floating-point precision limitations; numeric results inherit the greater input scale, and all SQL random functions share private PRNG state in a new source file #1.
- jian he reported successful testing and good performance, then suggested NULL bounds as shorthand for full-range integers #3; David Zhang subsequently reported that the patch passed make check and make check-world after resolving a numeric.h conflict #4.
- Dean rejected NULL-bound shorthand, preferring explicit bounds or possibly separate no-argument functions if demand justified them #5, and supplied a rebase with an updated copyright year #6.
- Aleksander Alekseev questioned the probabilistic duplicate tests and proposed deterministic seeded testing #7; Dean retained both approaches, explaining that duplicate tests could detect reduced output ranges that distribution tests might miss #8.
- Tomas Vondra reviewed and tested the patch, considered the code ready, and requested clearer documentation wording while asking about future distributions and result types #9; Dean clarified the documentation and numeric scale behavior, describing possible naming conventions but leaving additional functions outside this work #10.
- Dean announced readiness to commit the complete feature #11, then landed #10 with only an additional catalog-version bump as e6341323a8 and confirmed completion in the thread's final message #12.