]> granicus.if.org Git - postgresql/commit
Fix EXEC BACKEND + Windows builds for group privs
authorStephen Frost <sfrost@snowman.net>
Sat, 7 Apr 2018 23:01:43 +0000 (19:01 -0400)
committerStephen Frost <sfrost@snowman.net>
Sat, 7 Apr 2018 23:01:43 +0000 (19:01 -0400)
commit2b74022473f0c7a7fbe11a4973f80478226275bd
tree03e0788d9634fb439b6af7d2255f42aec6675b7f
parentc37b3d08ca6873f9d4eaf24c72a90a550970cbb8
Fix EXEC BACKEND + Windows builds for group privs

Under EXEC BACKEND we also need to be going through the group privileges
setup since we do support that on Unixy systems, so add that to
SubPostmasterMain().

Under Windows, we need to simply return true from
GetDataDirectoryCreatePerm(), but that wasn't happening due to a missing
 #else clause.

Per buildfarm.
src/backend/postmaster/postmaster.c
src/common/file_perm.c