]> granicus.if.org Git - postgresql/commitdiff
Remove useless 'default' clause
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 9 May 2018 13:33:55 +0000 (10:33 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 9 May 2018 13:33:55 +0000 (10:33 -0300)
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

src/backend/partitioning/partprune.c

index f954b92a6b16f39b631a5c4d7edde3485013467d..eae690e2ca37cf0bbcf9bcb85b7b1bcd84b8ffe6 100644 (file)
@@ -2954,10 +2954,6 @@ perform_pruning_combine_step(PartitionPruneContext *context,
                                }
                        }
                        break;
-
-               default:
-                       elog(ERROR, "invalid pruning combine op: %d",
-                                (int) cstep->combineOp);
        }
 
        return result;