summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorAlvaro Herrera2018-11-16 18:43:40 +0000
committerAlvaro Herrera2018-11-16 19:34:13 +0000
commit409231919443984635b7ae9b7e2e261ab984eb1e (patch)
tree67e613e870aad70295936a78f403fd35b3253f7e /src/backend/executor/nodeModifyTable.c
parenta7aa608e0f5910f9c73a530a66142c08e3d9043a (diff)
pgbench: introduce a RandomState struct
This becomes useful when used to retry a transaction after a serialization error or deadlock abort. (We don't yet have that feature, but this is preparation for it.) While at it, use separate random state for thread administratrivia such as deciding which script to run, how long to delay for throttling, or whether to log a message when sampling; this not only makes these tasks independent of each other, but makes the actual thread run deterministic. Author: Marina Polyakova Reviewed-by: Fabien Coelho Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions