Re: BUG #16161: pg_ctl stop fails sometimes (on Windows)
Tom Lane <[email protected]> Sat, 21 Dec 2019 17:41:52 -0500
| Newsgroups | gmane.comp.db.postgresql.bugs |
|---|---|
| Message-ID | <[email protected]> |
Alexander Lakhin <[email protected]> writes: > 19.12.2019 18:44, Tom Lane wrote: >> Entirely-untested patch along this line attached. > I have tested it with my demo restart test and it works. Yes, stat() is > resulted in the CreateFile() call too, so it should fail the same way. Since this patch seems to fix the problem, I went ahead and pushed it. We can still consider whether it can be improved, but I was getting antsy about leaving the buildfarm broken. regards, tom lane