Re: psql \watch 2nd argument: iteration count - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: psql \watch 2nd argument: iteration count
Date
Msg-id 20230315042348.GB596995@nathanxps13
Whole thread Raw
In response to Re: psql \watch 2nd argument: iteration count  (Michael Paquier <michael@paquier.xyz>)
Responses Re: psql \watch 2nd argument: iteration count
List pgsql-hackers
+            sleep = strtod(opt, &opt_end);
+            if (sleep < 0 || *opt_end || errno == ERANGE)

Should we set errno to 0 before calling strtod()?

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: recovery modules
Next
From: Michael Paquier
Date:
Subject: Re: Fix fseek() detection of unseekable files on WIN32