Re: Remove unused param rte in set_plain_rel_pathlist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remove unused param rte in set_plain_rel_pathlist
Дата
Msg-id 49867.1668265239@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Remove unused param rte in set_plain_rel_pathlist  (Zhang Mingli <zmlpostgres@gmail.com>)
Список pgsql-hackers
Zhang Mingli <zmlpostgres@gmail.com> writes:
> Param RangeTblEntry *rte in function set_plain_rel_pathlist is not used at all.
> Add a path to remove it.

I'm disinclined to change that, as it'd make set_plain_rel_pathlist
different from its sibling functions, which do need the RTE.

In practice this has cost zero anyway, since set_plain_rel_pathlist
will surely get inlined into its sole caller.

            regards, tom lane



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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: Re: Avoid overhead open-close indexes (catalog updates)
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Lack of PageSetLSN in heap_xlog_visible