Re: Re: [COMMITTERS] pgsql: Fix and simplify check for whether we're running as Windows serv
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>, Tom Lane <tgl@sss.pgh.pa.us>,
Dave Page <dpage@postgresql.org>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>
Date: 2017-03-22T17:44:12Z
Lists: pgsql-hackers
On Wed, Mar 22, 2017 at 10:13 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > Heikki Linnakangas wrote: >> I did some archeology, and found CheckTokenMembership() in MinGW's w32api >> packages version 3.14 >> (https://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/w32api-3.14/, >> in include/winbase.h). According to the timestamps on that download page, >> that was released in 2009. That was the oldest version I could find, so it >> might go even further back. >> >> Dave, do you know exactly what version of MinGW narwhal is running? And how >> difficult is it to upgrade to something slightly more modern? Ease of >> upgrade is another good data point on how far we need to support old >> versions. > > Given that this was backpatched and that it broke narwhal in all > branches, I think the solution needs to make narwhal work again without > requiring it to upgrade; so we should acquire CheckTokenMembership via > dynloading just like we do the other functions. If we want to require a > newer mingw version in pg10, that's acceptable, but it should be a > separate patch. +1 for not moving the minimum system requirements in the back-branches. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Revert Windows service check refactoring, and replace with a different fix.
- 4ae0805bbaa4 9.6.3 landed
- 42a60aa7f207 9.5.7 landed
- 6423ed7d4eaa 9.4.12 landed
- e0e1ef46d8c9 9.3.17 landed
- 8ae3ff64be77 9.2.21 landed
-
Fix and simplify check for whether we're running as Windows service.
- ff30aec759bd 10.0 cited