Re: pg_ctl on windows can't open postmaster.pid: Permission denied

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_ctl on windows can't open postmaster.pid: Permission denied
Date: 2019-03-29 14:24:42
Message-ID: 20190329142442.GK1954@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Enrique Kurth Schoenfeld Escobar 2019-03-29 14:25:22 unsuscribe
Previous Message Alvaro Herrera 2019-03-29 14:22:55 Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru