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
0648d78a
Commit
0648d78a
authored
Oct 01, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make inclusion logic for sys/sem.h and sys/ipc.h consistent across all
the files that need them. Per trouble report from Teodor.
parent
6d18c038
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
22 deletions
+17
-22
src/backend/storage/ipc/ipc.c
src/backend/storage/ipc/ipc.c
+2
-7
src/backend/storage/lmgr/proc.c
src/backend/storage/lmgr/proc.c
+7
-13
src/backend/storage/lmgr/spin.c
src/backend/storage/lmgr/spin.c
+8
-2
No files found.
src/backend/storage/ipc/ipc.c
View file @
0648d78a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.
69 2001/09/29 04:02:23
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.
70 2001/10/01 18:16:26
tgl Exp $
*
*
* NOTES
* NOTES
*
*
...
@@ -27,11 +27,10 @@
...
@@ -27,11 +27,10 @@
*/
*/
#include "postgres.h"
#include "postgres.h"
#include <sys/types.h>
#include <sys/file.h>
#include <errno.h>
#include <errno.h>
#include <signal.h>
#include <signal.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/file.h>
#include "storage/ipc.h"
#include "storage/ipc.h"
/* In Ultrix, sem.h and shm.h must be included AFTER ipc.h */
/* In Ultrix, sem.h and shm.h must be included AFTER ipc.h */
...
@@ -45,10 +44,6 @@
...
@@ -45,10 +44,6 @@
#include <kernel/OS.h>
#include <kernel/OS.h>
#endif
#endif
#if defined(solaris_sparc)
#include <sys/ipc.h>
#endif
#if defined(__darwin__)
#if defined(__darwin__)
#include "port/darwin/sem.h"
#include "port/darwin/sem.h"
#endif
#endif
...
...
src/backend/storage/lmgr/proc.c
View file @
0648d78a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.11
1 2001/09/30 00:45:47 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.11
2 2001/10/01 18:16:32 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -47,27 +47,21 @@
...
@@ -47,27 +47,21 @@
#include "postgres.h"
#include "postgres.h"
#include <errno.h>
#include <errno.h>
#include <sys/time.h>
#include <unistd.h>
#include <signal.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
#if defined(solaris_sparc) || defined(__CYGWIN__)
#include "storage/ipc.h"
#include <sys/ipc.h>
/* In Ultrix, sem.h and shm.h must be included AFTER ipc.h */
#ifdef HAVE_SYS_SEM_H
#include <sys/sem.h>
#include <sys/sem.h>
#endif
#endif
#include "miscadmin.h"
#if defined(__darwin__)
#if defined(__darwin__)
#include "port/darwin/sem.h"
#include "port/darwin/sem.h"
#endif
#endif
/* In Ultrix and QNX, sem.h must be included after ipc.h */
#include "miscadmin.h"
#ifdef HAVE_SYS_SEM_H
#include <sys/sem.h>
#endif
#include "access/xact.h"
#include "access/xact.h"
#include "storage/proc.h"
#include "storage/proc.h"
#include "storage/sinval.h"
#include "storage/sinval.h"
...
...
src/backend/storage/lmgr/spin.c
View file @
0648d78a
...
@@ -15,18 +15,24 @@
...
@@ -15,18 +15,24 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/spin.c,v 1.
3 2001/10/01 17:52:34 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/spin.c,v 1.
4 2001/10/01 18:16:35 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include "postgres.h"
#include "postgres.h"
#include <errno.h>
#include <errno.h>
#include "storage/ipc.h"
/* In Ultrix, sem.h and shm.h must be included AFTER ipc.h */
#ifdef HAVE_SYS_SEM_H
#ifdef HAVE_SYS_SEM_H
#include <sys/types.h>
#include <sys/sem.h>
#include <sys/sem.h>
#endif
#endif
#if defined(__darwin__)
#include "port/darwin/sem.h"
#endif
#include "storage/lwlock.h"
#include "storage/lwlock.h"
#include "storage/proc.h"
#include "storage/proc.h"
#include "storage/spin.h"
#include "storage/spin.h"
...
...
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