return address;
}
+/*
+ * ALTER TABLE ALTER COLUMN SET { GENERATED or sequence options }
+ *
+ * Return the address of the affected column.
+ */
static ObjectAddress
ATExecSetIdentity(Relation rel, const char *colName, Node *def, LOCKMODE lockmode)
{
ObjectAddressSubSet(address, RelationRelationId,
RelationGetRelid(rel), attnum);
}
+ else
+ address = InvalidObjectAddress;
heap_freetuple(tuple);
heap_close(attrelation, RowExclusiveLock);
return address;
}
+/*
+ * ALTER TABLE ALTER COLUMN DROP IDENTITY
+ *
+ * Return the address of the affected column.
+ */
static ObjectAddress
ATExecDropIdentity(Relation rel, const char *colName, bool missing_ok, LOCKMODE lockmode)
{