git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c90dcd6) | patch
Don't try to use a unopened relation
Wed, 7 Nov 2012 19:23:39 +0000 (16:23 -0300)
Wed, 7 Nov 2012 19:23:39 +0000 (16:23 -0300)
commit 4ee5c40b06f098910ed0fc5fd72fb2744776ccbb
Don't try to use a unopened relation

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.
src/backend/catalog/index.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /