aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-04-12 11:36:45 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-04-12 11:36:45 -0400
commitd4f109e4a2c028bcd889cc44d84b10fff7d9186b (patch)
treeae36bf1e8ac2a943f1ee7ffb760a1c6d6ecaaf9d /src/backend/jit/llvm/llvmjit_expr.c
parente7cc4a6e3dcc39f3643f998aa5da6a6f27f28db5 (diff)
downloadpostgresql-d4f109e4a2c028bcd889cc44d84b10fff7d9186b.tar.gz
postgresql-d4f109e4a2c028bcd889cc44d84b10fff7d9186b.zip
Doc: update description of random() function.
Commit 3804539e4 neglected to update the documentation's claim that random() uses a "linear congruential algorithm". In hopes of avoiding the same mistake if someone replaces our PRNG again, just say it's a deterministic pseudo-random number generator and leave it at that. Anybody who really wants to know can look in the source code. COMPATIBILITY NOTE FOR RELEASE NOTES: 3804539e4's commit message really should have mentioned that the random() sequence after setseed(), while still repeatable, will differ from what you got in pre-v15 releases. Noted by Dagfinn Ilmari Mannsåker; wording suggestion by Dean Rasheed. Discussion: https://postgr.es/m/875ynfpiru.fsf@wibble.ilmari.org
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions