We can confirm that the file is not deleted by antivirus. When windows is shutdown abruptly, we are noticing this issue. We will post this query in pgsql-general and check if someone else has encountered the same issue.
Regards, Joel From: Craig Ringer <craig.rin...@enterprisedb.com> Sent: 03 December 2020 19:14 To: Joel Mariadasan (jomariad) <jomar...@cisco.com> Cc: pgsql-hackers <pgsql-hack...@postgresql.org>; Tejaswini L (tlingach) <tling...@cisco.com>; Balakumaran Swaminathan (balsamin) <balsa...@cisco.com> Subject: Re: pg_ctl.exe file deleted automatically On Thu, 3 Dec 2020, 13:06 Joel Mariadasan (jomariad), <jomar...@cisco.com<mailto:jomar...@cisco.com>> wrote: Hi, We are using Windows 2019 server. Sometimes we see the pg_ctl.exe getting automatically deleted. Due to this, while starting up Postgres windows service we are getting the error. “Error 2: The system cannot find the file specified” Can you let us know the potential causes for this pg_ctl.exe file deletion? PostgreSQL will never delete pg_ctl.exe Check your antivirus software logs for false positives. This mailing list is for software development on postgres so I suggest following up on pgsql-general. Joel