aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeProjectSet.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2018-11-15 16:25:30 +1300
committerThomas Munro <tmunro@postgresql.org>2018-11-15 16:25:30 +1300
commit5b0ce3ec334bb65bbab4aba78f204f986c356e80 (patch)
tree714667891ff70e41bb40bdc4dab84c28b85d2aba /src/backend/executor/nodeProjectSet.c
parentaa5518304213a762b62ebe3dbb057d220d8976eb (diff)
downloadpostgresql-5b0ce3ec334bb65bbab4aba78f204f986c356e80.tar.gz
postgresql-5b0ce3ec334bb65bbab4aba78f204f986c356e80.zip
Increase the number of possible random seeds per time period.
Commit 197e4af9 refactored the initialization of the libc random() seed, but reduced the number of possible seeds values that could be chosen in a given time period. This negation of the effects of commit 98c50656c was unintentional. Replace with code that shifts the fast moving timestamp bits left, similar to the original algorithm (though not the previous float-tolerating coding, which is no longer necessary). Author: Thomas Munro Reported-by: Noah Misch Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20181112083358.GA1073796%40rfd.leadboat.com
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions