summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2016-08-30 16:00:00 +0000
committerPeter Eisentraut2017-04-06 17:09:42 +0000
commite6c9a5a9bcc9774e6a29cf9cea489b42f492e019 (patch)
treee6925b73a00c2f658ccc26c3fad2f510ac606372 /src/include
parenta071fe87a21920e5c2e79d521d31b2ddaf83875b (diff)
Fix mixup of bool and ternary value
Not currently a problem, but could be with stricter bool behavior under stdbool or C++. Reviewed-by: Andres Freund <andres@anarazel.de>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/gin_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/gin_private.h b/src/include/access/gin_private.h
index f2e9c4ddec8..986fe6e0418 100644
--- a/src/include/access/gin_private.h
+++ b/src/include/access/gin_private.h
@@ -281,7 +281,7 @@ typedef struct GinScanKeyData
int nadditional;
/* array of check flags, reported to consistentFn */
- bool *entryRes;
+ GinTernaryValue *entryRes;
bool (*boolConsistentFn) (GinScanKey key);
GinTernaryValue (*triConsistentFn) (GinScanKey key);
FmgrInfo *consistentFmgrInfo;