summaryrefslogtreecommitdiff
path: root/src/backend/port/win32_shmem.c
diff options
context:
space:
mode:
authorTom Lane2018-04-26 18:47:16 +0000
committerTom Lane2018-04-26 18:47:16 +0000
commitbdf46af748d0f15f257c99bf06e9e25aba6a24f9 (patch)
tree3637d69ad413fdc23098cc2cf94b2cd57fd44dab /src/backend/port/win32_shmem.c
parentf83bf385c1dad4964e0d899174989a1668536182 (diff)
Post-feature-freeze pgindent run.
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/port/win32_shmem.c')
-rw-r--r--src/backend/port/win32_shmem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/port/win32_shmem.c b/src/backend/port/win32_shmem.c
index fa80cebfbd8..f8ca52e1afe 100644
--- a/src/backend/port/win32_shmem.c
+++ b/src/backend/port/win32_shmem.c
@@ -112,9 +112,9 @@ PGSharedMemoryIsInUse(unsigned long id1, unsigned long id2)
static bool
EnableLockPagesPrivilege(int elevel)
{
- HANDLE hToken;
+ HANDLE hToken;
TOKEN_PRIVILEGES tp;
- LUID luid;
+ LUID luid;
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken))
{
@@ -267,8 +267,8 @@ retry:
size);
/*
- * Use the original size, not the rounded-up value, when falling back
- * to non-huge pages.
+ * Use the original size, not the rounded-up value, when
+ * falling back to non-huge pages.
*/
size = orig_size;
flProtect = PAGE_READWRITE;