aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-04-10 23:52:34 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-04-10 23:52:34 -0400
commit1630f5b92a3a00aff5674f31af1d418628a00ac7 (patch)
tree3ae865de0cb13a9d7877dae0bb727203cdd876f7 /src
parent5306df2831ab012d8008691f833457bc299962aa (diff)
downloadpostgresql-1630f5b92a3a00aff5674f31af1d418628a00ac7.tar.gz
postgresql-1630f5b92a3a00aff5674f31af1d418628a00ac7.zip
Add comment about intentional fallthrough in switch.
Coverity complained about an apparent missing "break" in a switch added by bb140506df605fab. The human-readable comments are pretty clear that this is intentional, but add a standard /* FALL THRU */ comment to make it clear to tools too.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/tsginidx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/adt/tsginidx.c b/src/backend/utils/adt/tsginidx.c
index fc0686ee66b..3f1e7f961f6 100644
--- a/src/backend/utils/adt/tsginidx.c
+++ b/src/backend/utils/adt/tsginidx.c
@@ -240,6 +240,7 @@ TS_execute_ternary(GinChkVal *gcv, QueryItem *curitem)
* treat OP_PHRASE as OP_AND with recheck requirement
*/
*gcv->need_recheck = true;
+ /* FALL THRU */
case OP_AND:
val1 = TS_execute_ternary(gcv, curitem + curitem->qoperator.left);