aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-03-23 16:10:43 -0400
committerRobert Haas <rhaas@postgresql.org>2017-03-23 16:10:43 -0400
commitc23b186ae9000f66e2abf783fe820913305fb616 (patch)
treefeee0d4f51d8698b32b70cb108dc193dd5deec05
parenteccfef81e1f73ee41f1d8bfe4fa4e80576945048 (diff)
downloadpostgresql-c23b186ae9000f66e2abf783fe820913305fb616.tar.gz
postgresql-c23b186ae9000f66e2abf783fe820913305fb616.zip
Fix enum definition.
Commit 249cf070e36721a65be74838c53acf8249faf935 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.
-rw-r--r--src/include/pgstat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h
index a6752429711..201562521f7 100644
--- a/src/include/pgstat.h
+++ b/src/include/pgstat.h
@@ -816,7 +816,7 @@ typedef enum
*/
typedef enum
{
- WAIT_EVENT_BUFFILE_READ,
+ WAIT_EVENT_BUFFILE_READ = PG_WAIT_IO,
WAIT_EVENT_BUFFILE_WRITE,
WAIT_EVENT_CONTROL_FILE_READ,
WAIT_EVENT_CONTROL_FILE_SYNC,
@@ -829,7 +829,7 @@ typedef enum
WAIT_EVENT_DATA_FILE_FLUSH,
WAIT_EVENT_DATA_FILE_IMMEDIATE_SYNC,
WAIT_EVENT_DATA_FILE_PREFETCH,
- WAIT_EVENT_DATA_FILE_READ = PG_WAIT_IO,
+ WAIT_EVENT_DATA_FILE_READ,
WAIT_EVENT_DATA_FILE_SYNC,
WAIT_EVENT_DATA_FILE_TRUNCATE,
WAIT_EVENT_DATA_FILE_WRITE,