pgsql: Add RelationOpenSmgr() calls to ensure rd_smgr is valid when we - Mailing list pgsql-committers

From [email protected] (Tom Lane)
Subject pgsql: Add RelationOpenSmgr() calls to ensure rd_smgr is valid when we
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add RelationOpenSmgr() calls to ensure rd_smgr is valid when we try to
use it.  While it normally has been opened earlier during btree index
build, testing shows that it's possible for the link to be closed again
if an sinval reset occurs while the index is being built.

Modified Files:
--------------
    pgsql/src/backend/access/nbtree:
        nbtsort.c (r1.96 -> r1.97)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtsort.c.diff?r1=1.96&r2=1.97)

pgsql-committers by date:

Previous
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Add comment explaining why RelationOpenSmgr() call is not needed.
Next
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Add RelationOpenSmgr() calls to ensure rd_smgr is valid when we