Re: can we use different function in place of atoi in vacuumdb.c file

2020-01-26 Thread Surafel Temesgen
Hi, On Thu, Jan 23, 2020 at 3:56 PM Mahendra Singh Thalor wrote: > Hi all, > While reviewing one patch, I found that if we give any non-integer string > to atoi (say aa), then it is returning zero(0) as output so we are not > giving any error(assuming 0 as valid argument) and continuing our > ope

can we use different function in place of atoi in vacuumdb.c file

2020-01-23 Thread Mahendra Singh Thalor
Hi all, While reviewing one patch, I found that if we give any non-integer string to atoi (say aa), then it is returning zero(0) as output so we are not giving any error(assuming 0 as valid argument) and continuing our operations. Ex: Let say, we gave "-P aa" (patch is in review[1]), then it will