Hi. Say I have column A.b_id which references B.id (which is a
primary key) and as such it is declared as a foreign key
constraint. A.b_id has no index because it doesn't need one. What
happens when table B's rows are modified (but never deleted)? Will
PG still have have to scan A fo find A.b_id to do nothing with it?
)) B.id itself is never modified, it's just a normal serial value
typically used for id's.
The docs are a bit ambiguous:
|