Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
156d6480
Commit
156d6480
authored
Nov 08, 2007
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sentence-ending periods.
parent
b7210a07
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/backend/port/win32_shmem.c
src/backend/port/win32_shmem.c
+5
-5
No files found.
src/backend/port/win32_shmem.c
View file @
156d6480
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/port/win32_shmem.c,v 1.
2 2007/03/28 08:06:11 mha
Exp $
* $PostgreSQL: pgsql/src/backend/port/win32_shmem.c,v 1.
3 2007/11/08 14:47:41 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -136,7 +136,7 @@ PGSharedMemoryCreate(Size size, bool makePrivate, int port)
if
(
!
hmap
)
ereport
(
FATAL
,
(
errmsg
(
"could not create shared memory segment: %lu"
,
GetLastError
()),
errdetail
(
"Failed system call was CreateFileMapping(size=%lu, name=%s)"
,
errdetail
(
"Failed system call was CreateFileMapping(size=%lu, name=%s)
.
"
,
(
unsigned
long
)
size
,
szShareMem
)));
/*
...
...
@@ -159,7 +159,7 @@ PGSharedMemoryCreate(Size size, bool makePrivate, int port)
if
(
!
hmap
)
ereport
(
FATAL
,
(
errmsg
(
"could not create shared memory segment: %lu"
,
GetLastError
()),
errdetail
(
"Failed system call was CreateFileMapping(size=%lu, name=%s)"
,
errdetail
(
"Failed system call was CreateFileMapping(size=%lu, name=%s)
.
"
,
(
unsigned
long
)
size
,
szShareMem
)));
if
(
GetLastError
()
==
ERROR_ALREADY_EXISTS
)
...
...
@@ -176,7 +176,7 @@ PGSharedMemoryCreate(Size size, bool makePrivate, int port)
if
(
!
DuplicateHandle
(
GetCurrentProcess
(),
hmap
,
GetCurrentProcess
(),
&
hmap2
,
0
,
TRUE
,
DUPLICATE_SAME_ACCESS
))
ereport
(
FATAL
,
(
errmsg
(
"could not create shared memory segment: %lu"
,
GetLastError
()),
errdetail
(
"Failed system call was DuplicateHandle"
)));
errdetail
(
"Failed system call was DuplicateHandle
.
"
)));
/*
* Close the old, non-inheritable handle. If this fails we don't really
...
...
@@ -197,7 +197,7 @@ PGSharedMemoryCreate(Size size, bool makePrivate, int port)
if
(
!
memAddress
)
ereport
(
FATAL
,
(
errmsg
(
"could not create shared memory segment: %lu"
,
GetLastError
()),
errdetail
(
"Failed system call was MapViewOfFileEx"
)));
errdetail
(
"Failed system call was MapViewOfFileEx
.
"
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment