Обсуждение: Remove redundant initialization of smgr pointer for relcache

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

Remove redundant initialization of smgr pointer for relcache

От
Jingtang Zhang
Дата:
Hi~

We seem to have a reduntant initialization of rd_smgr for a newly created
relcache entry. Commonly, the pointer is assigned as NULL after a relcache
is palloc'ed. But this one seems unnecessary because the rd_smgr has already
been initialized by earlier AllocateRelationDesc. Propose a patch for it.

--
Regards, Jingtang


Вложения