aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/explain.c3
-rw-r--r--src/backend/commands/indexcmds.c1
-rw-r--r--src/backend/commands/trigger.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c
index e1a62a1bce9..73d94b72356 100644
--- a/src/backend/commands/explain.c
+++ b/src/backend/commands/explain.c
@@ -1479,7 +1479,8 @@ ExplainNode(PlanState *planstate, List *ancestors,
case T_SampleScan:
show_tablesample(((SampleScan *) plan)->tablesample,
planstate, ancestors, es);
- /* FALL THRU to print additional fields the same as SeqScan */
+ /* fall through to print additional fields the same as SeqScan */
+ /* FALLTHROUGH */
case T_SeqScan:
case T_ValuesScan:
case T_CteScan:
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index c4aa4c0974d..3a3223bffb5 100644
--- a/src/backend/commands/indexcmds.c
+++ b/src/backend/commands/indexcmds.c
@@ -440,6 +440,7 @@ DefineIndex(Oid relationId,
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
errmsg("cannot create index on foreign table \"%s\"",
RelationGetRelationName(rel))));
+ break;
default:
ereport(ERROR,
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c
index 88a95896b6f..57519fe8d64 100644
--- a/src/backend/commands/trigger.c
+++ b/src/backend/commands/trigger.c
@@ -3338,6 +3338,7 @@ ltrmark:;
case HeapTupleInvisible:
elog(ERROR, "attempted to lock invisible tuple");
+ break;
default:
ReleaseBuffer(buffer);