PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
char ** | save_ps_display_args (int argc, char **argv) |
void | init_ps_display (const char *fixed_part) |
void | set_ps_display (const char *activity) |
const char * | get_ps_display (int *displen) |
Variables | |
PGDLLIMPORT bool | update_process_title |
const char* get_ps_display | ( | int * | displen | ) |
Definition at line 430 of file ps_status.c.
Referenced by LockBufferForCleanup(), log_line_prefix(), ResolveRecoveryConflictWithVirtualXIDs(), SyncRepWaitForLSN(), WaitOnLock(), write_csvlog(), and write_jsonlog().
void init_ps_display | ( | const char * | fixed_part | ) |
Definition at line 258 of file ps_status.c.
References Assert(), cluster_name, GetBackendTypeDesc(), i, IsUnderPostmaster, MyBackendType, save_argc, save_argv, set_ps_display(), snprintf, and update_process_title.
Referenced by AutoVacLauncherMain(), AutoVacWorkerMain(), AuxiliaryProcessMain(), BackendInitialize(), StartBackgroundWorker(), and SysLoggerMain().
char** save_ps_display_args | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 131 of file ps_status.c.
References environ, exit(), i, malloc, save_argc, save_argv, and write_stderr.
Referenced by main().
void set_ps_display | ( | const char * | activity | ) |
Definition at line 349 of file ps_status.c.
References IsUnderPostmaster, MemSet, MyProcPid, name, PS_PADDING, sprintf, strlcpy(), and update_process_title.
Referenced by AutoVacWorkerMain(), BackendInitialize(), exec_bind_message(), exec_execute_message(), exec_parse_message(), exec_replication_command(), exec_simple_query(), init_ps_display(), LockBufferForCleanup(), PerformAuthentication(), pgarch_archiveXlog(), PostgresMain(), ProcessIncomingNotify(), ResolveRecoveryConflictWithVirtualXIDs(), SendBaseBackup(), SyncRepWaitForLSN(), update_checkpoint_display(), WaitOnLock(), WalRcvWaitForStartPosition(), XLogFileRead(), XLogSendPhysical(), and XLogWalRcvFlush().
|
extern |
Definition at line 36 of file ps_status.c.
Referenced by init_ps_display(), LockBufferForCleanup(), ResolveRecoveryConflictWithVirtualXIDs(), SendBaseBackup(), set_ps_display(), SyncRepWaitForLSN(), WaitOnLock(), WalRcvWaitForStartPosition(), XLogSendPhysical(), and XLogWalRcvFlush().