forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd4f109e
committed
Doc: update description of random() function.
Commit3804539 neglected to update the documentation's claim thatrandom() uses a "linear congruential algorithm". In hopes of avoidingthe same mistake if someone replaces our PRNG again, just say it's adeterministic 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:3804539's commit messagereally should have mentioned that the random() sequence aftersetseed(), while still repeatable, will differ from what you gotin pre-v15 releases.Noted by Dagfinn Ilmari Mannsåker; wording suggestion by Dean Rasheed.Discussion:https://postgr.es/m/875ynfpiru.fsf@wibble.ilmari.org1 parente7cc4a6 commitd4f109e
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1832 | 1832 |
| |
1833 | 1833 |
| |
1834 | 1834 |
| |
1835 |
| - | |
1836 |
| - | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
1837 | 1838 |
| |
1838 | 1839 |
| |
1839 | 1840 |
| |
|
0 commit comments
Comments
(0)