From: Alvaro Herrera Date: Wed, 9 May 2018 13:33:55 +0000 (-0300) Subject: Remove useless 'default' clause X-Git-Tag: REL_11_BETA1~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c775fb9e18ace94e61d5d9587b5667f7baaca459;p=postgresql Remove useless 'default' clause Author: Michael Paquier Reviewed-by: Amit Langote Reviewed-by: Álvaro Herrera Discussion: https://postgr.es/m/20180424012042.GD1570@paquier.xyz Discussion: https://postgr.es/m/20180509061039.GC11897@paquier.xyz --- diff --git a/src/backend/partitioning/partprune.c b/src/backend/partitioning/partprune.c index f954b92a6b..eae690e2ca 100644 --- a/src/backend/partitioning/partprune.c +++ b/src/backend/partitioning/partprune.c @@ -2954,10 +2954,6 @@ perform_pruning_combine_step(PartitionPruneContext *context, } } break; - - default: - elog(ERROR, "invalid pruning combine op: %d", - (int) cstep->combineOp); } return result;