Обсуждение: pgsql: Add RelationOpenSmgr() calls to ensure rd_smgr is valid when we

Поиск
Список
Период
Сортировка

pgsql: Add RelationOpenSmgr() calls to ensure rd_smgr is valid when we

От
tgl@postgresql.org (Tom Lane)
Дата:
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.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/nbtree:
        nbtsort.c (r1.90 -> r1.90.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtsort.c.diff?r1=1.90&r2=1.90.4.1)