Skip to content

Commit e51ca40

Browse files
committed
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"
1 parent 16a3ae5 commit e51ca40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/aio/method_worker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ IoWorkerMain(const void *startup_data, size_t startup_data_len)
385385
/* also registers a shutdown callback to unregister */
386386
pgaio_worker_register();
387387

388-
sprintf(cmd, "io worker: %d", MyIoWorkerId);
388+
sprintf(cmd, "%d", MyIoWorkerId);
389389
set_ps_display(cmd);
390390

391391
/* see PostgresMain() */

0 commit comments

Comments
 (0)