RE: BUG #19392: PG_UPGRADE is non-functional on Windows - Mailing list pgsql-bugs

From Jeff Laing
Subject RE: BUG #19392: PG_UPGRADE is non-functional on Windows
Date
Msg-id DU0PR02MB8220F9DF6D0CDCCBE5F7F30D8F99A@DU0PR02MB8220.eurprd02.prod.outlook.com
Whole thread Raw
In response to Re: BUG #19392: PG_UPGRADE is non-functional on Windows  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: BUG #19392: PG_UPGRADE is non-functional on Windows
List pgsql-bugs

>> From: David G. Johnston david.g.johnston@gmail.com
>> Sent: Thursday, 5 February 2026 10:39 AM

>>
>> Postmaster is the name of the executable that is the server program.

 

Perhaps on Unix, but I don’t think it is on Windows?

 

C:> netstat -abo

  TCP    0.0.0.0:5432           SPNX-1Z2SRV3:0         LISTENING       39060

[postgres.exe]

 

I can see that the “directory structure” has mentions of “postmaster”

 

[13:50:24.50 C:\postgresql18]

C:> dir/s/b postmaster*

C:\postgresql18\data\postmaster.opts

C:\postgresql18\data\postmaster.pid

C:\postgresql18\include\server\postmaster

C:\postgresql18\include\server\postmaster\postmaster.h

 

… but on windows, that’s not visible in the pathname of the executable.

 

[13:52:20.45 C:\postgresql18]

C:> dir/s/b postgres.exe

C:\postgresql18\bin\postgres.exe

 

Again, only an issue because in a past life, “postmaster” was a different user-id used by a completely different application, so it’s not critical, it’s just misled and sent me down the wrong blind alley.

pgsql-bugs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: BUG #19392: PG_UPGRADE is non-functional on Windows
Next
From: Tom Lane
Date:
Subject: Re: BUG #19392: PG_UPGRADE is non-functional on Windows