From d614aae02e8f878438716b7fd2642b8240b3f2b3 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Wed, 10 Apr 2019 12:49:49 +1200 Subject: [PATCH] Improve comment in sync.h. Per off-list complaint from Andres Freund. --- src/include/storage/sync.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/storage/sync.h b/src/include/storage/sync.h index 124a49ea98..8efb68f8e0 100644 --- a/src/include/storage/sync.h +++ b/src/include/storage/sync.h @@ -29,8 +29,8 @@ typedef enum SyncRequestType } SyncRequestType; /* - * Which set of functions to use to handle a given request. See the function - * table in sync.c. + * Which set of functions to use to handle a given request. The values of + * the enumerators must match the indexes of the function table in sync.c. */ typedef enum SyncRequestHandler {