aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2012-11-07 16:23:39 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2012-11-07 16:23:39 -0300
commit4ee5c40b06f098910ed0fc5fd72fb2744776ccbb (patch)
tree66ea9160da53f480dfc6012fb80a8a218b26d781 /src/backend/access/gist/gistxlog.c
parentc90dcd6d2c76402ce307b0d44958c6ca274f2c39 (diff)
downloadpostgresql-4ee5c40b06f098910ed0fc5fd72fb2744776ccbb.tar.gz
postgresql-4ee5c40b06f098910ed0fc5fd72fb2744776ccbb.zip
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.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions