aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-07-23 19:00:30 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-07-23 19:00:30 -0400
commit042554d55d8539ea621ecf25d10d8c38ff1a2324 (patch)
tree8c19b9fa7d5f3c9efdc371faa66f7c8786455b7d /src/backend/commands/dbcommands.c
parent32e1510150837d7bf6defa382444f7c3e9e83253 (diff)
downloadpostgresql-042554d55d8539ea621ecf25d10d8c38ff1a2324.tar.gz
postgresql-042554d55d8539ea621ecf25d10d8c38ff1a2324.zip
Doc: improve documentation about random().
We didn't explicitly say that random() uses a randomly-chosen seed if you haven't called setseed(). Do so. Also, remove ref/set.sgml's no-longer-accurate (and never very relevant) statement that the seed value is multiplied by 2^31-1. Back-patch to v12 where set.sgml's claim stopped being true. The claim that we use a source of random bits as seed was debatable before 4203842a1, too, so v12 seems like a good place to stop. Per question from Carl Sopchak. Discussion: https://postgr.es/m/f37bb937-9d99-08f0-4de7-80c91a3cfc2e@sopchak.me
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions