diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-01-25 05:15:15 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-01-25 05:15:15 +0000 |
commit | c16ebb0f67eca76a4a33faca1b5ea6633bb90c8a (patch) | |
tree | 52170941184af526a9f8c438e57ce07eb8492972 /src/include | |
parent | fc75484550eb2320882936c1ad90a6c7e09d7a33 (diff) | |
download | postgresql-c16ebb0f67eca76a4a33faca1b5ea6633bb90c8a.tar.gz postgresql-c16ebb0f67eca76a4a33faca1b5ea6633bb90c8a.zip |
getpid/pid cleanup
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/miscadmin.h | 5 | ||||
-rw-r--r-- | src/include/storage/proc.h | 7 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index ee10cef0a52..774ff0f34d8 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -11,7 +11,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.18 1997/12/04 23:58:01 thomas Exp $ + * $Id: miscadmin.h,v 1.19 1998/01/25 05:15:01 momjian Exp $ * * NOTES * some of the information in this file will be moved to @@ -36,10 +36,11 @@ extern int PostmasterMain(int argc, char *argv[]); */ extern int Portfd; extern int Noversion; -extern int MasterPid; extern int Quiet; extern char *DataDir; +extern int MyProcPid; + extern char OutputFileName[]; /* diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index e58758a8c60..e1e582e47e3 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: proc.h,v 1.9 1998/01/23 06:01:25 momjian Exp $ + * $Id: proc.h,v 1.10 1998/01/25 05:15:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -35,10 +35,6 @@ typedef struct proc SEMA sem; /* ONE semaphore to sleep on */ int errType; /* error code tells why we woke up */ - int procId; /* unique number for this structure NOT - * unique per backend, these things are - * reused after the backend dies. */ - int critSects; /* If critSects > 0, we are in sensitive * routines that cannot be recovered when * the process fails. */ @@ -69,7 +65,6 @@ typedef struct proc typedef struct procglobal { SHMEM_OFFSET freeProcs; - int numProcs; IPCKey currKey; int32 freeSemMap[MAX_PROC_SEMS / PROC_NSEMS_PER_SET]; } PROC_HDR; |