/* Likewise, copy comment if requested */
if ((inhRelation->options & CREATE_TABLE_LIKE_COMMENTS) &&
- (comment = GetComment(attribute->attrelid, RelationRelationId,
- attribute->attnum)) != NULL)
+ (comment = GetComment(attribute->attrelid,
+ RelationRelationId,
+ attribute->attnum)) != NULL)
{
CommentStmt *stmt = makeNode(CommentStmt);
* Copy CHECK constraints if requested, being careful to adjust attribute
* numbers
*/
- if ((inhRelation->options & CREATE_TABLE_LIKE_CONSTRAINTS) && tupleDesc->constr)
+ if ((inhRelation->options & CREATE_TABLE_LIKE_CONSTRAINTS) &&
+ tupleDesc->constr)
{
AttrNumber *attmap = varattnos_map_schema(tupleDesc, cxt->columns);
int ccnum;
/* Copy comment on constraint */
if ((inhRelation->options & CREATE_TABLE_LIKE_COMMENTS) &&
- (comment = GetComment(GetConstraintByName(RelationGetRelid(
- relation), n->conname), ConstraintRelationId, 0)) != NULL)
+ (comment = GetComment(GetConstraintByName(RelationGetRelid(relation),
+ n->conname),
+ ConstraintRelationId,
+ 0)) != NULL)
{
CommentStmt *stmt = makeNode(CommentStmt);