Re: Fixing pgbench init overflow

2023-12-23 Thread Michael Paquier
On Sat, Dec 23, 2023 at 03:37:33PM +0800, Japin Li wrote: > Thanks for you confirmation! Please consider the v2 patch to review. This oversight is from me via commit e35cc3b3f2d0. I'll take care of it. Thanks for the report! -- Michael signature.asc Description: PGP signature

Re: Fixing pgbench init overflow

2023-12-22 Thread Japin Li
On Sat, 23 Dec 2023 at 15:22, Tatsuo Ishii wrote: > > > >> >> On Sat, 23 Dec 2023 at 07:18, Chen Hao Hsu wrote: >>> Hello, >>> >>> pgbench mixes int and int64 to initialize the tables. >>> When a large enough scale factor is passed, initPopulateTable >>> overflows leading to it never completi

Re: Fixing pgbench init overflow

2023-12-22 Thread Tatsuo Ishii
> > On Sat, 23 Dec 2023 at 07:18, Chen Hao Hsu wrote: >> Hello, >> >> pgbench mixes int and int64 to initialize the tables. >> When a large enough scale factor is passed, initPopulateTable >> overflows leading to it never completing, ie. >> >> 214740 of 22 tuples (97%) of >> pgbenc

Re: Fixing pgbench init overflow

2023-12-22 Thread Japin Li
On Sat, 23 Dec 2023 at 07:18, Chen Hao Hsu wrote: > Hello, > > pgbench mixes int and int64 to initialize the tables. > When a large enough scale factor is passed, initPopulateTable > overflows leading to it never completing, ie. > > 214740 of 22 tuples (97%) of > pgbench_accounts don

Fixing pgbench init overflow

2023-12-22 Thread Chen Hao Hsu
Hello, pgbench mixes int and int64 to initialize the tables. When a large enough scale factor is passed, initPopulateTable overflows leading to it never completing, ie. 214740 of 22 tuples (97%) of pgbench_accounts done (elapsed 4038.83 s, remaining 98.93 s) -214740 of 22