Re: Rowcounts marked by create_foreignscan_path()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rowcounts marked by create_foreignscan_path()
Дата
Msg-id 12798.1392692600@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Rowcounts marked by create_foreignscan_path()  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
Ответы Re: Rowcounts marked by create_foreignscan_path()  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
Список pgsql-hackers
Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp> writes:
> Why does create_foreignscan_path() not set the rowcounts based on
> ParamPathInfo when the path is a parameterized path?

The calling FDW is supposed to do that; note the header comment.
I'm not sure that it'd be an improvement to change the API spec
to be "create_foreignscan_path has no intelligence, except that
sometimes it will decide to override your rows estimate anyway;
nonetheless, it takes your cost estimate as gospel".
        regards, tom lane



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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Rowcounts marked by create_foreignscan_path()
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: Rowcounts marked by create_foreignscan_path()