pgsql: Avoid invalid array reference in transformAlterTableStmt().

2022-04-18 Thread Tom Lane
Avoid invalid array reference in transformAlterTableStmt(). Don't try to look at the attidentity field of system attributes, because they're not there in the TupleDescAttr array. Sometimes this is harmless because we accidentally pick up a zero, but otherwise we'll report "no owned sequence found

pgsql: Avoid invalid array reference in transformAlterTableStmt().

2022-04-18 Thread Tom Lane
Avoid invalid array reference in transformAlterTableStmt(). Don't try to look at the attidentity field of system attributes, because they're not there in the TupleDescAttr array. Sometimes this is harmless because we accidentally pick up a zero, but otherwise we'll report "no owned sequence found

pgsql: Avoid invalid array reference in transformAlterTableStmt().

2022-04-18 Thread Tom Lane
Avoid invalid array reference in transformAlterTableStmt(). Don't try to look at the attidentity field of system attributes, because they're not there in the TupleDescAttr array. Sometimes this is harmless because we accidentally pick up a zero, but otherwise we'll report "no owned sequence found

pgsql: Avoid invalid array reference in transformAlterTableStmt().

2022-04-18 Thread Tom Lane
Avoid invalid array reference in transformAlterTableStmt(). Don't try to look at the attidentity field of system attributes, because they're not there in the TupleDescAttr array. Sometimes this is harmless because we accidentally pick up a zero, but otherwise we'll report "no owned sequence found

pgsql: Avoid invalid array reference in transformAlterTableStmt().

2022-04-18 Thread Tom Lane
Avoid invalid array reference in transformAlterTableStmt(). Don't try to look at the attidentity field of system attributes, because they're not there in the TupleDescAttr array. Sometimes this is harmless because we accidentally pick up a zero, but otherwise we'll report "no owned sequence found

pgsql: Avoid invalid array reference in transformAlterTableStmt().

2022-04-18 Thread Tom Lane
Avoid invalid array reference in transformAlterTableStmt(). Don't try to look at the attidentity field of system attributes, because they're not there in the TupleDescAttr array. Sometimes this is harmless because we accidentally pick up a zero, but otherwise we'll report "no owned sequence found