From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | David Rowley <dgrowleyml(at)gmail(dot)com> |
Cc: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Incorrect usage of strtol, atoi for non-numeric junk inputs |
Date: | 2021-07-21 12:44:22 |
Message-ID: | YPgWpvro0ZLjP03N@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jul 22, 2021 at 12:32:39AM +1200, David Rowley wrote:
> I see both of these are limited to 64 on windows. Won't those fail on Windows?
Yes, thanks, they would. I would just cut the range numbers from the
expected output here. This does not matter in terms of coverage
either.
x> I also wondered if it would be worth doing #define MAX_JOBS somewhere
> away from the option parsing code. This part is pretty ugly:
Agreed as well. pg_dump and pg_restore have their own idea of
parallelism in parallel.{c.h}. What about putting MAX_JOBS in
parallel.h then?
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Dean Rasheed | 2021-07-21 13:02:50 | Re: Use extended statistics to estimate (Var op Var) clauses |
Previous Message | David Rowley | 2021-07-21 12:32:39 | Re: Incorrect usage of strtol, atoi for non-numeric junk inputs |