RE: pg_ctl.exe file deleted automatically

From: "Joel Mariadasan (jomariad)" <jomariad(at)cisco(dot)com>
To: Craig Ringer <craig(dot)ringer(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: pg_ctl.exe file deleted automatically
Date: 2020-12-14 06:58:04
Message-ID: DM6PR11MB3452CFF4CBFA48CF1D7D44C1D7C70@DM6PR11MB3452.namprd11.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(dot)ringer(at)enterprisedb(dot)com>
Sent: 03 December 2020 19:14
To: Joel Mariadasan (jomariad) <jomariad(at)cisco(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>; Tejaswini L (tlingach) <tlingach(at)cisco(dot)com>; Balakumaran Swaminathan (balsamin) <balsamin(at)cisco(dot)com>
Subject: Re: pg_ctl.exe file deleted automatically

On Thu, 3 Dec 2020, 13:06 Joel Mariadasan (jomariad), <jomariad(at)cisco(dot)com<mailto:jomariad(at)cisco(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2020-12-14 07:01:15 Re: Asynchronous Append on postgres_fdw nodes.
Previous Message Pavel Stehule 2020-12-14 06:57:21 Re: Rethinking plpgsql's assignment implementation