diff options
author | Tomas Vondra | 2017-06-03 14:17:00 +0000 |
---|---|---|
committer | Tomas Vondra | 2017-06-03 14:17:00 +0000 |
commit | c2b1e01aed3fe5c03e18641e42562744f2ae26d9 (patch) | |
tree | 3eb3bde41c48e1e8702927caf4dae389e6047203 /src/backend/utils/adt/array_userfuncs.c | |
parent | 32d57848458595a487d251b37c2872d86de439ef (diff) |
Make pgbench script names (name prefixes) unique
PostgreSQL 9.6 picks the built-in scripts by prefix, as long as a single
script is matched. This is done even when not using the '-b' option as
in that case pgbench simply uses 'tpcb-like' (and 'pgbench -N' defaults
to 'simple-update').
XL adds two custom scripts that also use the 'bid' column in WHERE
conditions, not just the 'aid' one. Those scripts were however named
'tpcb-like-bid' and 'simple-update-bid' which makes the upstream names
non-unique (when used as prefixes).
This fixes it by simply not keeping the upstream scripts, and replacing
them with the XL version. It might have been possible to massage the
builtin_script[] array to keep both, but it doesn't seem worth it.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions