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
48a94aaf
Commit
48a94aaf
authored
Jun 27, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename proc_exit_clear to on_exit_reset.
parent
e747c587
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+2
-2
src/backend/storage/ipc/ipc.c
src/backend/storage/ipc/ipc.c
+4
-3
src/include/storage/ipc.h
src/include/storage/ipc.h
+2
-2
No files found.
src/backend/postmaster/postmaster.c
View file @
48a94aaf
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.9
0 1998/06/27 04:53:31
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.9
1 1998/06/27 13:24:19
momjian Exp $
*
*
* NOTES
* NOTES
*
*
...
@@ -1226,7 +1226,7 @@ DoBackend(Port *port)
...
@@ -1226,7 +1226,7 @@ DoBackend(Port *port)
* Let's clean up ourselves as the postmaster child
* Let's clean up ourselves as the postmaster child
*/
*/
clear_proc_exi
t
();
/* we don't want the postmaster's proc_exit() handlers */
on_exit_rese
t
();
/* we don't want the postmaster's proc_exit() handlers */
/* ----------------
/* ----------------
* register signal handlers.
* register signal handlers.
...
...
src/backend/storage/ipc/ipc.c
View file @
48a94aaf
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.2
7 1998/06/27 04:53:34
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.2
8 1998/06/27 13:24:20
momjian Exp $
*
*
* NOTES
* NOTES
*
*
...
@@ -215,14 +215,15 @@ on_shmem_exit(void (*function) (), caddr_t arg)
...
@@ -215,14 +215,15 @@ on_shmem_exit(void (*function) (), caddr_t arg)
}
}
/* ----------------------------------------------------------------
/* ----------------------------------------------------------------
*
clear_proc_exi
t
*
on_exit_rese
t
*
*
* this function clears all proc_exit() registered functions.
* this function clears all proc_exit() registered functions.
* ----------------------------------------------------------------
* ----------------------------------------------------------------
*/
*/
void
void
clear_proc_exi
t
(
void
)
on_exit_rese
t
(
void
)
{
{
on_shmem_exit_index
=
0
;
on_proc_exit_index
=
0
;
on_proc_exit_index
=
0
;
}
}
...
...
src/include/storage/ipc.h
View file @
48a94aaf
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: ipc.h,v 1.2
7 1998/06/27 04:53:49
momjian Exp $
* $Id: ipc.h,v 1.2
8 1998/06/27 13:24:21
momjian Exp $
*
*
* NOTES
* NOTES
* This file is very architecture-specific. This stuff should actually
* This file is very architecture-specific. This stuff should actually
...
@@ -75,7 +75,7 @@ extern void proc_exit(int code);
...
@@ -75,7 +75,7 @@ extern void proc_exit(int code);
extern
void
shmem_exit
(
int
code
);
extern
void
shmem_exit
(
int
code
);
extern
int
on_shmem_exit
(
void
(
*
function
)
(),
caddr_t
arg
);
extern
int
on_shmem_exit
(
void
(
*
function
)
(),
caddr_t
arg
);
extern
int
on_proc_exit
(
void
(
*
function
)
(),
caddr_t
arg
);
extern
int
on_proc_exit
(
void
(
*
function
)
(),
caddr_t
arg
);
extern
void
clear_proc_exi
t
(
void
);
extern
void
on_exit_rese
t
(
void
);
extern
IpcSemaphoreId
extern
IpcSemaphoreId
IpcSemaphoreCreate
(
IpcSemaphoreKey
semKey
,
IpcSemaphoreCreate
(
IpcSemaphoreKey
semKey
,
...
...
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