mirror of https://github.com/postgres/postgres
child plan nodes until we have acquired lock on the relation to scan. The relative order of initialization of plan nodes isn't real important in other cases, but it's critical here because one is supposed to lock a relation before its indexes, not vice versa. The original coding was at least vulnerable to deadlock against DROP INDEX, and perhaps worse things.REL8_2_STABLE
parent
113ece8f3d
commit
de1dfc1209
Loading…
Reference in new issue