Re: pg_ctl on windows can't open postmaster.pid: Permission denied - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_ctl on windows can't open postmaster.pid: Permission denied
Date
Msg-id 20190329142442.GK1954@paquier.xyz
Whole thread Raw
In response to Re: pg_ctl on windows can't open postmaster.pid: Permission denied  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Sat, Mar 30, 2019 at 12:13:23AM +1300, Thomas Munro wrote:
> This is probably a stupid question, but after commit 0ba06e0,
> shouldn't pg_ctl.c have fopen defined as pgwin32_fopen by port.h,
> because it was included by c.h, because it was included by
> postgres_fe.h?

Yeah, normally pg_ctl should be using the concurrent-safe wrapper.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Improve autovacuum logging for aggressive andanti-wraparound ru
Next
From: Enrique Kurth Schoenfeld Escobar
Date:
Subject: unsuscribe