Re: Incorrect usage of strtol, atoi for non-numeric junk inputs

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Incorrect usage of strtol, atoi for non-numeric junk inputs
Дата
Msg-id YPgWpvro0ZLjP03N@paquier.xyz
обсуждение исходный текст
Ответ на Re: Incorrect usage of strtol, atoi for non-numeric junk inputs  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Incorrect usage of strtol, atoi for non-numeric junk inputs
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Incorrect usage of strtol, atoi for non-numeric junk inputs
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Use extended statistics to estimate (Var op Var) clauses