diff --git a/src/backend/partitioning/partprune.c b/src/backend/partitioning/partprune.c index e1b5825f00c..f8844ef2eb6 100644 --- a/src/backend/partitioning/partprune.c +++ b/src/backend/partitioning/partprune.c @@ -836,10 +836,6 @@ gen_partprune_steps_internal(GeneratePruningStepsContext *context, case PARTCLAUSE_UNSUPPORTED: /* This clause cannot be used for pruning. */ break; - - default: - Assert(false); - break; } /* done; go check the next clause. */