1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

getpid/pid cleanup

This commit is contained in:
Bruce Momjian
1998-01-25 05:15:15 +00:00
parent fc75484550
commit c16ebb0f67
16 changed files with 61 additions and 102 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.61 1998/01/13 04:04:36 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.62 1998/01/25 05:14:18 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -886,7 +886,7 @@ PostgresMain(int argc, char *argv[])
* -------------------
*/
MasterPid = getpid();
MyProcPid = getpid();
/* ----------------
* parse command line arguments
@@ -1381,7 +1381,7 @@ PostgresMain(int argc, char *argv[])
if (IsUnderPostmaster == false)
{
puts("\nPOSTGRES backend interactive interface");
puts("$Revision: 1.61 $ $Date: 1998/01/13 04:04:36 $");
puts("$Revision: 1.62 $ $Date: 1998/01/25 05:14:18 $");
}
/* ----------------

View File

@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.36 1998/01/05 18:43:09 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.37 1998/01/25 05:14:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -589,7 +589,7 @@ ProcessUtility(Node * parsetree,
commandTag = "LISTEN";
CHECK_IF_ABORTED();
Async_Listen(stmt->relname, MasterPid);
Async_Listen(stmt->relname, MyProcPid);
}
break;