aboutsummaryrefslogtreecommitdiff
path: root/src/backend/partitioning/partprune.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/partitioning/partprune.c')
-rw-r--r--src/backend/partitioning/partprune.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/backend/partitioning/partprune.c b/src/backend/partitioning/partprune.c
index 62159477c1e..f954b92a6b1 100644
--- a/src/backend/partitioning/partprune.c
+++ b/src/backend/partitioning/partprune.c
@@ -1486,7 +1486,7 @@ match_clause_to_partition_key(RelOptInfo *rel,
*/
if (op_in_opfamily(opclause->opno, partopfamily))
{
- Oid oper;
+ Oid oper;
oper = OidIsValid(commutator) ? commutator : opclause->opno;
get_op_opfamily_properties(oper, partopfamily, false,
@@ -1528,11 +1528,11 @@ match_clause_to_partition_key(RelOptInfo *rel,
{
switch (part_scheme->strategy)
{
- /*
- * For range and list partitioning, we need the ordering
- * procedure with lefttype being the partition key's type, and
- * righttype the clause's operator's right type.
- */
+ /*
+ * For range and list partitioning, we need the ordering
+ * procedure with lefttype being the partition key's type,
+ * and righttype the clause's operator's right type.
+ */
case PARTITION_STRATEGY_LIST:
case PARTITION_STRATEGY_RANGE:
cmpfn =
@@ -1541,10 +1541,10 @@ match_clause_to_partition_key(RelOptInfo *rel,
op_righttype, BTORDER_PROC);
break;
- /*
- * For hash partitioning, we need the hashing procedure for
- * the clause's type.
- */
+ /*
+ * For hash partitioning, we need the hashing procedure
+ * for the clause's type.
+ */
case PARTITION_STRATEGY_HASH:
cmpfn =
get_opfamily_proc(part_scheme->partopfamily[partkeyidx],