diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 87fb006..9fda82d 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -2381,9 +2381,9 @@ init(bool is_no_vacuum) } }; static const char *const DDLINDEXes[] = { - "alter table pgbench_branches add primary key (bid)", - "alter table pgbench_tellers add primary key (tid)", - "alter table pgbench_accounts add primary key (aid)" + "create index pgbench_branches_bid on pgbench_branches using hash (bid)", + "create index pgbench_tellers_tid on pgbench_tellers using hash (tid)", + "create index pgbench_accounts_aid on pgbench_accounts using hash (aid)" }; static const char *const DDLKEYs[] = { "alter table pgbench_tellers add foreign key (bid) references pgbench_branches",