diff --git a/pglogical_sync.c b/pglogical_sync.c index c7ee4d4..d2151d3 100644 --- a/pglogical_sync.c +++ b/pglogical_sync.c @@ -504,7 +504,7 @@ make_copy_attnamelist(PGLogicalRelation *rel) int remoteattnum = physatt_in_attmap(rel, attnum); /* Skip dropped attributes. */ - if (TupleDescAttr(desc,attnum)->attisdropped) + if (TupleDescAttr(desc,attnum)->attisdropped || TupleDescAttr(desc,attnum)->attgenerated != '\0') continue; if (remoteattnum < 0)