pgsql: Reject system columns as elements of foreign keys.

2023-03-31 Thread Tom Lane
Reject system columns as elements of foreign keys. Up through v11 it was sensible to use the "oid" system column as a foreign key column, but since that was removed there's no visible usefulness in making any of the remaining system columns a foreign key. Moreover, since the TupleTableSlot rewrit

pgsql: Reject system columns as elements of foreign keys.

2023-03-31 Thread Tom Lane
Reject system columns as elements of foreign keys. Up through v11 it was sensible to use the "oid" system column as a foreign key column, but since that was removed there's no visible usefulness in making any of the remaining system columns a foreign key. Moreover, since the TupleTableSlot rewrit

pgsql: Reject system columns as elements of foreign keys.

2023-03-31 Thread Tom Lane
Reject system columns as elements of foreign keys. Up through v11 it was sensible to use the "oid" system column as a foreign key column, but since that was removed there's no visible usefulness in making any of the remaining system columns a foreign key. Moreover, since the TupleTableSlot rewrit

pgsql: Reject system columns as elements of foreign keys.

2023-03-31 Thread Tom Lane
Reject system columns as elements of foreign keys. Up through v11 it was sensible to use the "oid" system column as a foreign key column, but since that was removed there's no visible usefulness in making any of the remaining system columns a foreign key. Moreover, since the TupleTableSlot rewrit

pgsql: Reject system columns as elements of foreign keys.

2023-03-31 Thread Tom Lane
Reject system columns as elements of foreign keys. Up through v11 it was sensible to use the "oid" system column as a foreign key column, but since that was removed there's no visible usefulness in making any of the remaining system columns a foreign key. Moreover, since the TupleTableSlot rewrit