Remove redundant initialization of smgr pointer for relcache

Поиск
Список
Период
Сортировка
От Jingtang Zhang
Тема Remove redundant initialization of smgr pointer for relcache
Дата
Msg-id 468115EF-D287-4440-9E5B-CAF06B7EA86D@gmail.com
обсуждение исходный текст
Список pgsql-hackers
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


Вложения

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