diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-03-21 23:41:37 +0100 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-03-21 23:41:37 +0100 |
commit | 4c0e97c2d58f1cec9fc24237342962811de3cfee (patch) | |
tree | 8485215e0cc41bebd8c5b7f99c3cfb410df5cf42 /src | |
parent | dea6ed2c980286e89caf4166ad329f506abbff29 (diff) | |
download | postgresql-4c0e97c2d58f1cec9fc24237342962811de3cfee.tar.gz postgresql-4c0e97c2d58f1cec9fc24237342962811de3cfee.zip |
Fix thinkos in GinLogicValue enum.
It was incorrectly declared as global variable, not an enum type, and
the comments for GIN_FALSE and GIN_TRUE were backwards.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/access/gin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/access/gin.h b/src/include/access/gin.h index 75a86c4319a..34f4405bf69 100644 --- a/src/include/access/gin.h +++ b/src/include/access/gin.h @@ -48,13 +48,13 @@ typedef struct GinStatsData } GinStatsData; /* ginlogic.c */ -enum +enum GinLogicValueEnum { - GIN_FALSE = 0, /* item is present / matches */ - GIN_TRUE = 1, /* item is not present / does not match */ + GIN_FALSE = 0, /* item is not present / does not match */ + GIN_TRUE = 1, /* item is present / matches */ GIN_MAYBE = 2 /* don't know if item is present / don't know if * matches */ -} GinLogicValueEnum; +}; typedef char GinLogicValue; |