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
2220a2b5
Commit
2220a2b5
authored
Feb 19, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add casts to suppress gcc warnings on Solaris (where apparently pid_t
is different from int).
parent
0519a1a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+7
-7
No files found.
src/backend/postmaster/postmaster.c
View file @
2220a2b5
...
...
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.26
5 2002/02/19 19:53:35
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.26
6 2002/02/19 20:45:04
tgl Exp $
*
* NOTES
*
...
...
@@ -1459,7 +1459,7 @@ pmdie(SIGNAL_ARGS)
if
(
ShutdownPID
>
0
)
{
elog
(
REALLYFATAL
,
"shutdown process %d already running"
,
ShutdownPID
);
(
int
)
ShutdownPID
);
abort
();
}
...
...
@@ -1503,7 +1503,7 @@ pmdie(SIGNAL_ARGS)
if
(
ShutdownPID
>
0
)
{
elog
(
REALLYFATAL
,
"shutdown process %d already running"
,
ShutdownPID
);
(
int
)
ShutdownPID
);
abort
();
}
...
...
@@ -1607,7 +1607,7 @@ reaper(SIGNAL_ARGS)
if
(
ShutdownPID
>
0
)
{
elog
(
STOP
,
"startup process %d died while shutdown process %d already running"
,
pid
,
ShutdownPID
);
pid
,
(
int
)
ShutdownPID
);
abort
();
}
ShutdownPID
=
ShutdownDataBase
();
...
...
@@ -1747,7 +1747,7 @@ CleanupProc(int pid,
if
(
DebugLvl
)
elog
(
DEBUG
,
"CleanupProc: sending %s to process %d"
,
(
SendStop
?
"SIGSTOP"
:
"SIGQUIT"
),
bp
->
pid
);
(
int
)
bp
->
pid
);
kill
(
bp
->
pid
,
(
SendStop
?
SIGSTOP
:
SIGQUIT
));
}
}
...
...
@@ -1820,7 +1820,7 @@ SignalChildren(int signal)
{
if
(
DebugLvl
>=
1
)
elog
(
DEBUG
,
"SignalChildren: sending signal %d to process %d"
,
signal
,
bp
->
pid
);
signal
,
(
int
)
bp
->
pid
);
kill
(
bp
->
pid
,
signal
);
}
...
...
@@ -1915,7 +1915,7 @@ BackendStartup(Port *port)
/* in parent, normal */
if
(
DebugLvl
>=
1
)
elog
(
DEBUG
,
"BackendStartup: forked pid=%d socket=%d"
,
pid
,
port
->
sock
);
(
int
)
pid
,
port
->
sock
);
/*
* Everything's been successful, it's safe to add this backend to our
...
...
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