Skip to content

Commit

Permalink
Whitespace fix
Browse files Browse the repository at this point in the history
This commits includes only some whitespace changes.
  • Loading branch information
onderkalaci committed Feb 24, 2015
1 parent c469f82 commit cffe56e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions create_shards.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ master_create_distributed_table(PG_FUNCTION_ARGS)
char relationKind = '\0';
char *partitionColumnName = text_to_cstring(partitionColumnText);
char *tableName = text_to_cstring(tableNameText);
Var* partitionColumnVar = NULL;
Var *partitionColumnVar = NULL;

/* verify target relation is either regular or foreign table */
relationKind = get_rel_relkind(distributedTableId);
Expand Down Expand Up @@ -112,7 +112,7 @@ master_create_distributed_table(PG_FUNCTION_ARGS)
Oid partitionColumnTypeId = partitionColumnVar->vartype;

ereport(ERROR, (errcode(ERRCODE_UNDEFINED_FUNCTION),
errmsg("could not identify a hash function for type %s",
errmsg("could not identify a hash function for type %s",
format_type_be(partitionColumnTypeId)),
errdetail("Partition column types must have a hash function "
"defined to use hash partitioning.")));
Expand All @@ -137,7 +137,7 @@ master_create_distributed_table(PG_FUNCTION_ARGS)
errmsg("could not identify a comparison function for type %s",
format_type_be(partitionColumnTypeId)),
errdetail("Partition column types must have a comparison function "
"defined to use range partitioning.")));
"defined to use range partitioning.")));
}
}

Expand Down Expand Up @@ -587,7 +587,7 @@ IntegerToText(int32 value)
* errors-out if there is no default operator class for the data type of the column.
*/
Oid
SupportFunctionForColumn(Var* partitionColumn, Oid accessMethodId,
SupportFunctionForColumn(Var *partitionColumn, Oid accessMethodId,
int16 supportFunctionNumber)
{
Oid operatorFamilyId = InvalidOid;
Expand Down

0 comments on commit cffe56e

Please sign in to comment.