mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Small cleanup.
This commit is contained in:
parent
c4cb617504
commit
8d0e658d06
@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.52 1997/08/19 21:32:27 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.53 1997/08/25 04:15:31 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@ -887,10 +887,10 @@ CleanupProc(int pid,
|
||||
* SIGUSR1 is the special signal that sez exit without exitpg
|
||||
* and let the user know what's going on. ProcSemaphoreKill()
|
||||
* cleans up the backends semaphore. If SendStop is set (-s on
|
||||
* the command line), then we send a SIGSTOP so that we can
|
||||
* collect core dumps from all backends by hand.
|
||||
* -----------------
|
||||
*/
|
||||
* command line), then we send a SIGSTOP so that we can
|
||||
* core dumps from all backends by hand.
|
||||
* -----------------
|
||||
*/
|
||||
sig = (SendStop) ? SIGSTOP : SIGUSR1;
|
||||
if (bp->pid != pid) {
|
||||
if (DebugLvl)
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: c.h,v 1.15 1997/08/24 23:07:56 momjian Exp $
|
||||
* $Id: c.h,v 1.16 1997/08/25 04:15:40 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -686,7 +686,7 @@ typedef struct Exception {
|
||||
* Does string copy, and forces terminating NULL
|
||||
*/
|
||||
/* we do this so if the macro is used in an if action, it will work */
|
||||
#define strNcpy(dst,src,len) (strncpy((dst),(src),(len)),*((dst)+(len))='\0',dst)
|
||||
#define strNcpy(dst,src,len) (strncpy((dst),(src),(len)),*((dst)+(len))='\0')
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
* Section 9: externs
|
||||
|
Loading…
Reference in New Issue
Block a user