Skip to content

Commit c23b186

Browse files
committed
Fix enum definition.
Commit 249cf07 assigned to one of the labels in the middle the value that should have been assigned to the first member of the enum. Rushabh's patch didn't have that defect as submitted, but I managed to mess it up while editing. Repair.
1 parent eccfef8 commit c23b186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/pgstat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ typedef enum
816816
*/
817817
typedef enum
818818
{
819-
WAIT_EVENT_BUFFILE_READ,
819+
WAIT_EVENT_BUFFILE_READ = PG_WAIT_IO,
820820
WAIT_EVENT_BUFFILE_WRITE,
821821
WAIT_EVENT_CONTROL_FILE_READ,
822822
WAIT_EVENT_CONTROL_FILE_SYNC,
@@ -829,7 +829,7 @@ typedef enum
829829
WAIT_EVENT_DATA_FILE_FLUSH,
830830
WAIT_EVENT_DATA_FILE_IMMEDIATE_SYNC,
831831
WAIT_EVENT_DATA_FILE_PREFETCH,
832-
WAIT_EVENT_DATA_FILE_READ = PG_WAIT_IO,
832+
WAIT_EVENT_DATA_FILE_READ,
833833
WAIT_EVENT_DATA_FILE_SYNC,
834834
WAIT_EVENT_DATA_FILE_TRUNCATE,
835835
WAIT_EVENT_DATA_FILE_WRITE,

0 commit comments

Comments
 (0)