Commit 0d265be
Fix and rename --use-unique-keys option and add TAP test (apache#1508)
* Fix and rename --use-unique-keys option and add TAP test
Cloudberry has --use-unique-keys options since cc797b9.
However, it does not work, at least at current HEAD.
Fix that, and also rename option, to better indicate its use case.
If user does NOT use this option, pgbenc will create unique index.
If use does use this option, pgbench will not. So, rename to
--use-non-unique-keys.
Found during PG16 kernel rebase.
* Update 001_pgbench_with_server.pl
(cherry picked from commit 8bde32c)1 parent c8729e4 commit 0d265be
2 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| |||
4382 | 4382 | | |
4383 | 4383 | | |
4384 | 4384 | | |
4385 | | - | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
| 4388 | + | |
| 4389 | + | |
4386 | 4390 | | |
4387 | 4391 | | |
4388 | 4392 | | |
| |||
5837 | 5841 | | |
5838 | 5842 | | |
5839 | 5843 | | |
5840 | | - | |
| 5844 | + | |
| 5845 | + | |
5841 | 5846 | | |
5842 | 5847 | | |
5843 | 5848 | | |
| |||
6217 | 6222 | | |
6218 | 6223 | | |
6219 | 6224 | | |
| 6225 | + | |
| 6226 | + | |
| 6227 | + | |
6220 | 6228 | | |
6221 | 6229 | | |
6222 | 6230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
103 | 116 | | |
104 | 117 | | |
105 | 118 | | |
| |||
0 commit comments