mirror of https://github.com/citusdata/citus.git
reindent c files
parent
08ac904e7b
commit
64a8d71739
|
@ -768,10 +768,11 @@ ConvertTableInternal(TableConversionState *con)
|
|||
foreach_ptr(columnName, nonStoredColumnNameList)
|
||||
{
|
||||
List *commentDDLCommandsColumn = GetCommentPropagationCommandsX(
|
||||
con->relationId, RelationRelationId, columnName , OBJECT_COLUMN,
|
||||
con->relationId, RelationRelationId, columnName, OBJECT_COLUMN,
|
||||
con->relationName, ++columnCount);
|
||||
postLoadCommands = list_concat(postLoadCommands,
|
||||
WrapTableDDLCommands(commentDDLCommandsColumn));
|
||||
WrapTableDDLCommands(
|
||||
commentDDLCommandsColumn));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,9 +30,11 @@ inline List *
|
|||
GetCommentPropagationCommands(Oid classOid, Oid objOoid, char *objectName, ObjectType
|
||||
objectType)
|
||||
{
|
||||
return GetCommentPropagationCommandsX(classOid, objOoid, objectName, objectType, NULL, 0);
|
||||
return GetCommentPropagationCommandsX(classOid, objOoid, objectName, objectType, NULL,
|
||||
0);
|
||||
}
|
||||
|
||||
|
||||
List *
|
||||
GetCommentPropagationCommandsX(Oid classOid, Oid objOoid, char *objectName, ObjectType
|
||||
objectType, char *qualifier, int32 subid)
|
||||
|
@ -43,7 +45,7 @@ GetCommentPropagationCommandsX(Oid classOid, Oid objOoid, char *objectName, Obje
|
|||
|
||||
char *comment = NULL;
|
||||
|
||||
if((objectType == OBJECT_DATABASE) || (objectType == OBJECT_ROLE) || (objectType ==
|
||||
if ((objectType == OBJECT_DATABASE) || (objectType == OBJECT_ROLE) || (objectType ==
|
||||
OBJECT_TABLESPACE))
|
||||
{
|
||||
/* Get the comment for the shared object */
|
||||
|
|
Loading…
Reference in New Issue