Use function smgrclose() to replace the loop

Поиск
Список
Период
Сортировка
От Steven Niu
Тема Use function smgrclose() to replace the loop
Дата
Msg-id CABBtG=d1Kkmi67VdM=jGaYkQ0+WGbhZpxwa3ms0s1DB_J_9Jww@mail.gmail.com
обсуждение исходный текст
Ответы Re: Use function smgrclose() to replace the loop
Список pgsql-hackers
Hi, Kirill, Junwang,

I made this patch to address the refactor issue in our previous email discussion.

That is, the for loop in function smgrdestroy() and smgrdounlinkall can be replaced with smgrclose().

for (forknum = 0; forknum <= MAX_FORKNUM; forknum++)
    smgrsw[reln->smgr_which].smgr_close(reln, forknum);
-->
smgrclose(rels[i]);

Please let me know if you have any questions.

Best Regards,
Steven from Highgo.com
Вложения

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