mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
Fix ps display for IO workers.
This code must have missed a memo about the backend type description being supplied automatically these days, and was duplicating that information. Before: "io worker io worker: N" After: "io worker N"
This commit is contained in:
@@ -385,7 +385,7 @@ IoWorkerMain(const void *startup_data, size_t startup_data_len)
|
|||||||
/* also registers a shutdown callback to unregister */
|
/* also registers a shutdown callback to unregister */
|
||||||
pgaio_worker_register();
|
pgaio_worker_register();
|
||||||
|
|
||||||
sprintf(cmd, "io worker: %d", MyIoWorkerId);
|
sprintf(cmd, "%d", MyIoWorkerId);
|
||||||
set_ps_display(cmd);
|
set_ps_display(cmd);
|
||||||
|
|
||||||
/* see PostgresMain() */
|
/* see PostgresMain() */
|
||||||
|
Reference in New Issue
Block a user