|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Macros | |
| #define | DEFAULT_UPDATE_PROCESS_TITLE true |
Functions | |
| char ** | save_ps_display_args (int argc, char **argv) |
| void | init_ps_display (const char *fixed_part) |
| void | set_ps_display_suffix (const char *suffix) |
| void | set_ps_display_remove_suffix (void) |
| void | set_ps_display_with_len (const char *activity, size_t len) |
| static void | set_ps_display (const char *activity) |
| const char * | get_ps_display (int *displen) |
Variables | |
| PGDLLIMPORT bool | update_process_title |
| #define DEFAULT_UPDATE_PROCESS_TITLE true |
Definition at line 19 of file ps_status.h.
| const char * get_ps_display | ( | int * | displen | ) |
Definition at line 548 of file ps_status.c.
Referenced by log_status_format(), write_csvlog(), and write_jsonlog().
| void init_ps_display | ( | const char * | fixed_part | ) |
Definition at line 285 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(), AuxiliaryProcessMainCommon(), BackendInitialize(), BackgroundWorkerMain(), ReplSlotSyncWorkerMain(), and SysLoggerMain().
| char ** save_ps_display_args | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 130 of file ps_status.c.
References environ, i, malloc, save_argc, save_argv, and write_stderr.
Referenced by main().
|
inlinestatic |
Definition at line 40 of file ps_status.h.
References set_ps_display_with_len().
Referenced by AutoVacWorkerMain(), BackendInitialize(), exec_bind_message(), exec_parse_message(), exec_replication_command(), init_ps_display(), IoWorkerMain(), PerformAuthentication(), pgarch_archiveXlog(), PostgresMain(), ProcessIncomingNotify(), SendBaseBackup(), StartupXLOG(), update_checkpoint_display(), WalRcvWaitForStartPosition(), XLogFileRead(), XLogSendPhysical(), and XLogWalRcvFlush().
| void set_ps_display_remove_suffix | ( | void | ) |
Definition at line 439 of file ps_status.c.
References Assert().
Referenced by LockBufferForCleanup(), ResolveRecoveryConflictWithVirtualXIDs(), SyncRepWaitForLSN(), and WaitOnLock().
| void set_ps_display_suffix | ( | const char * | suffix | ) |
Definition at line 387 of file ps_status.c.
Referenced by LockBufferForCleanup(), ResolveRecoveryConflictWithVirtualXIDs(), SyncRepWaitForLSN(), and WaitOnLock().
| void set_ps_display_with_len | ( | const char * | activity, |
| size_t | len | ||
| ) |
Definition at line 469 of file ps_status.c.
Referenced by exec_execute_message(), exec_simple_query(), and set_ps_display().
|
extern |
Definition at line 31 of file ps_status.c.
Referenced by init_ps_display(), ResolveRecoveryConflictWithVirtualXIDs(), SendBaseBackup(), SyncRepWaitForLSN(), WalRcvWaitForStartPosition(), XLogSendPhysical(), and XLogWalRcvFlush().