Content-Length: 270832 | pFad | http://github.com/postgrespro/postgres/commit/4c0e97c2d58f1cec9fc24237342962811de3cfee

B5 Fix thinkos in GinLogicValue enum. · postgrespro/postgres@4c0e97c · GitHub
Skip to content

Commit 4c0e97c

Browse files
committed
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.
1 parent dea6ed2 commit 4c0e97c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/include/access/gin.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ typedef struct GinStatsData
4848
} GinStatsData;
4949

5050
/* ginlogic.c */
51-
enum
51+
enum GinLogicValueEnum
5252
{
53-
GIN_FALSE = 0, /* item is present / matches */
54-
GIN_TRUE = 1, /* item is not present / does not match */
53+
GIN_FALSE = 0, /* item is not present / does not match */
54+
GIN_TRUE = 1, /* item is present / matches */
5555
GIN_MAYBE = 2 /* don't know if item is present / don't know if
5656
* matches */
57-
} GinLogicValueEnum;
57+
};
5858

5959
typedef char GinLogicValue;
6060

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/4c0e97c2d58f1cec9fc24237342962811de3cfee

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy