mirror of
https://github.com/postgres/postgres.git
synced 2026-06-06 07:42:52 -04:00
4ee5c40b06
Commit 4c9d0901 mistakenly introduced a call to
TransferPredicateLocksToHeapRelation() on an index relation that had
been closed a few lines above. Moving up an index_open() call that's
below is enough to fix the problem.
Discovered by me while testing an unrelated patch.