Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
94cc3abe
Commit
94cc3abe
authored
26 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Cleanups.
parent
c6f18c26
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/postmaster/postmaster.c
+4
-5
4 additions, 5 deletions
src/backend/postmaster/postmaster.c
src/backend/storage/ipc/ipc.c
+3
-1
3 additions, 1 deletion
src/backend/storage/ipc/ipc.c
with
7 additions
and
6 deletions
src/backend/postmaster/postmaster.c
+
4
−
5
View file @
94cc3abe
...
...
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.8
8
1998/06/1
5 19:29:00
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.8
9
1998/06/1
8 03:43:59
momjian Exp $
*
* NOTES
*
...
...
@@ -955,11 +955,10 @@ CleanupProc(int pid,
}
/*
*
-------------------------
If a backend dies in an ugly way (i.e.
* If a backend dies in an ugly way (i.e.
* exit status not 0) then we must signal all other backends to
* quickdie. If exit status is zero we assume everything is hunky
* dory and simply remove the backend from the active backend list.
* -------------------------
*/
if
(
!
exitstatus
)
{
...
...
@@ -1021,7 +1020,7 @@ CleanupProc(int pid,
}
/*
*
-------------
Quasi_exit means run all of the on_exitpg routines
* Quasi_exit means run all of the on_exitpg routines
* but don't acutally call exit(). The on_exit list of routines to do
* is also truncated.
*
...
...
@@ -1030,7 +1029,7 @@ CleanupProc(int pid,
* requested and received a connection and I have forked off another
* backend. This prevents me from reinitializing shared stuff more
* than once for the set of backends that caused the failure and were
* killed off.
----------------
* killed off.
*/
if
(
ActiveBackends
==
TRUE
&&
Reinit
)
{
...
...
This diff is collapsed.
Click to expand it.
src/backend/storage/ipc/ipc.c
+
3
−
1
View file @
94cc3abe
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.2
2
1998/06/1
5 19:29:13
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.2
3
1998/06/1
8 03:44:00
momjian Exp $
*
* NOTES
*
...
...
@@ -45,12 +45,14 @@
#include
<sys/ipc.h>
#endif
#ifdef NOT_USED
#if defined(bsd44)
int
UsePrivateMemory
=
1
;
#else
int
UsePrivateMemory
=
0
;
#endif
#endif
static
void
IpcMemoryDetach
(
int
status
,
char
*
shmaddr
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment