mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
pgindent run for 8.2.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
* to contain some useful information. Mechanism differs wildly across
|
||||
* platforms.
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/ps_status.c,v 1.32 2006/09/27 18:40:10 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/ps_status.c,v 1.33 2006/10/04 00:30:04 momjian Exp $
|
||||
*
|
||||
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
|
||||
* various details abducted from various places
|
||||
@ -31,7 +31,7 @@
|
||||
#include "utils/ps_status.h"
|
||||
|
||||
extern char **environ;
|
||||
bool update_process_title = true;
|
||||
bool update_process_title = true;
|
||||
|
||||
|
||||
/*
|
||||
@ -287,7 +287,7 @@ set_ps_display(const char *activity, bool force)
|
||||
|
||||
if (!force && !update_process_title)
|
||||
return;
|
||||
|
||||
|
||||
#ifndef PS_USE_NONE
|
||||
/* no ps display for stand-alone backend */
|
||||
if (!IsUnderPostmaster)
|
||||
@ -336,8 +336,8 @@ set_ps_display(const char *activity, bool force)
|
||||
#ifdef PS_USE_WIN32
|
||||
{
|
||||
/*
|
||||
* Win32 does not support showing any changed arguments. To make it
|
||||
* at all possible to track which backend is doing what, we create a
|
||||
* Win32 does not support showing any changed arguments. To make it at
|
||||
* all possible to track which backend is doing what, we create a
|
||||
* named object that can be viewed with for example Process Explorer.
|
||||
*/
|
||||
static HANDLE ident_handle = INVALID_HANDLE_VALUE;
|
||||
@ -351,7 +351,6 @@ set_ps_display(const char *activity, bool force)
|
||||
ident_handle = CreateEvent(NULL, TRUE, FALSE, name);
|
||||
}
|
||||
#endif /* PS_USE_WIN32 */
|
||||
|
||||
#endif /* not PS_USE_NONE */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user