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
700f7f42
Commit
700f7f42
authored
Oct 27, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Solaris tests to test for SHM_SHARE_MMU, per Tom.
parent
5db5cbb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/backend/port/sysv_shmem.c
src/backend/port/sysv_shmem.c
+3
-3
No files found.
src/backend/port/sysv_shmem.c
View file @
700f7f42
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.2
3 2003/10/26 04:54:44
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.2
4 2003/10/27 18:30:07
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -133,7 +133,7 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
...
@@ -133,7 +133,7 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
on_shmem_exit
(
IpcMemoryDelete
,
Int32GetDatum
(
shmid
));
on_shmem_exit
(
IpcMemoryDelete
,
Int32GetDatum
(
shmid
));
/* OK, should be able to attach to the segment */
/* OK, should be able to attach to the segment */
#if
defined(__sun__) && defined(__sparc__)
#if
def SHM_SHARE_MMU
/* use intimate shared memory on SPARC Solaris */
/* use intimate shared memory on SPARC Solaris */
memAddress
=
shmat
(
shmid
,
0
,
SHM_SHARE_MMU
);
memAddress
=
shmat
(
shmid
,
0
,
SHM_SHARE_MMU
);
#else
#else
...
@@ -352,7 +352,7 @@ PGSharedMemoryAttach(IpcMemoryKey key, IpcMemoryId *shmid)
...
@@ -352,7 +352,7 @@ PGSharedMemoryAttach(IpcMemoryKey key, IpcMemoryId *shmid)
hdr
=
(
PGShmemHeader
*
)
shmat
(
*
shmid
,
hdr
=
(
PGShmemHeader
*
)
shmat
(
*
shmid
,
UsedShmemSegAddr
,
UsedShmemSegAddr
,
#if
defined(__sun__) && defined(__sparc__)
#if
def SHM_SHARE_MMU
/* use intimate shared memory on Solaris */
/* use intimate shared memory on Solaris */
SHM_SHARE_MMU
SHM_SHARE_MMU
#else
#else
...
...
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