aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogfuncs.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-03-24 12:39:01 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-03-24 12:39:23 +0200
commit4ae0805bbaa4011a65c6b40b9d138aa72f29b8a2 (patch)
treebc94f6a4ab8e188492058c6c52d330d2edd88b2d /src/backend/access/transam/xlogfuncs.c
parenta4d07d2e9d94d4516d55ad074236627ab78aa7ca (diff)
downloadpostgresql-4ae0805bbaa4011a65c6b40b9d138aa72f29b8a2.tar.gz
postgresql-4ae0805bbaa4011a65c6b40b9d138aa72f29b8a2.zip
Revert Windows service check refactoring, and replace with a different fix.
This reverts commit 38bdba54a64bacec78e3266f0848b0b4a824132a, "Fix and simplify check for whether we're running as Windows service". It turns out that older versions of MinGW - like that on buildfarm member narwhal - do not support the CheckTokenMembership() function. This replaces the refactoring with a much smaller fix, to add a check for SE_GROUP_ENABLED to pgwin32_is_service(). Only apply to back-branches, and keep the refactoring in HEAD. It's unlikely that anyone is still really using such an old version of MinGW - aside from narwhal - but let's not change the minimum requirements in minor releases. Discussion: https://www.postgresql.org/message-id/16609.1489773427@sss.pgh.pa.us Patch: https://www.postgresql.org/message-id/CAB7nPqSvfu%3DKpJ%3DNX%2BYAHmgAmQdzA7N5h31BjzXeMgczhGCC%2BQ%40mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlogfuncs.c')
0 files changed, 0 insertions, 0 deletions