pgsql: Don't try to use a unopened relation

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Don't try to use a unopened relation
Дата
Msg-id E1TWBOt-00085i-Q9@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4ee5c40b06f098910ed0fc5fd72fb2744776ccbb

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: In pg_upgrade docs, mention using base backup as part of rsync f
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Don't try to use a unopened relation