pgsql: Don't try to use a unopened relation - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Don't try to use a unopened relation
Date
Msg-id E1TWBOt-00085k-RK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9eb80f2ca75a205949df7dc86019d99fe076eb87

Modified Files
--------------
src/backend/catalog/index.c |    5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Don't try to use a unopened relation
Next
From: Bruce Momjian
Date:
Subject: pgsql: Add URLs to document why DLLIMPORT is needed on Windows.