1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +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:
Thomas Munro
2025-03-22 09:57:45 +13:00
parent 16a3ae504e
commit e51ca405ed

View File

@ -385,7 +385,7 @@ IoWorkerMain(const void *startup_data, size_t startup_data_len)
/* also registers a shutdown callback to unregister */
pgaio_worker_register();
sprintf(cmd, "io worker: %d", MyIoWorkerId);
sprintf(cmd, "%d", MyIoWorkerId);
set_ps_display(cmd);
/* see PostgresMain() */