@@ -1516,44 +1516,37 @@ init(bool is_no_vacuum)
15161516 char * distribute_by ;
15171517#endif
15181518 };
1519- struct ddlinfo DDLs [] = {
1519+ struct ddlinfo DDLs [] = {
15201520 {
15211521 "pgbench_branches" ,
15221522 "bid int not null,bbalance int,filler char(88)" ,
15231523 1
15241524#ifdef PGXC
15251525 , "distribute by hash (bid)"
15261526#endif
1527- "pgbench_history" ,
1528- scale >= SCALE_32BIT_THRESHOLD
1529- ? "tid int,bid int,aid bigint,delta int,mtime timestamp,filler char(22)"
1530- : "tid int,bid int,aid int,delta int,mtime timestamp,filler char(22)" ,
1531- 0
15321527 },
15331528 {
15341529 "pgbench_tellers" ,
15351530 "tid int not null,bid int,tbalance int,filler char(84)" ,
15361531 1
15371532#ifdef PGXC
1538- , "distribute by hash (tid )"
1533+ , "distribute by hash (bid )"
15391534#endif
15401535 },
15411536 {
15421537 "pgbench_accounts" ,
1543- scale >= SCALE_32BIT_THRESHOLD
1544- ? "aid bigint not null,bid int,abalance int,filler char(84)"
1545- : "aid int not null,bid int,abalance int,filler char(84)" ,
1538+ "aid int not null,bid int,abalance int,filler char(84)" ,
15461539 1
15471540#ifdef PGXC
1548- , "distribute by hash (aid )"
1541+ , "distribute by hash (bid )"
15491542#endif
15501543 },
15511544 {
1552- "pgbench_branches " ,
1553- "bid int not null,bbalance int,filler char(88 )" ,
1554- 1
1545+ "pgbench_history " ,
1546+ "tid int, bid int,aid int,delta int,mtime timestamp, filler char(22 )" ,
1547+ 0
15551548#ifdef PGXC
1556- , "distribute by hash (aid )"
1549+ , "distribute by hash (bid )"
15571550#endif
15581551 }
15591552 };
0 commit comments