Re: postgres_fdw: Minor improvement to postgresAcquireSampleRowsFunc

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: postgres_fdw: Minor improvement to postgresAcquireSampleRowsFunc
Дата
Msg-id CAOBaU_ZV6MTDDKm+4RJKKUA4WYsgPC9P4cLiB0vjwAsOB-xHcw@mail.gmail.com
обсуждение исходный текст
Ответ на postgres_fdw: Minor improvement to postgresAcquireSampleRowsFunc  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Ответы Re: postgres_fdw: Minor improvement to postgresAcquireSampleRowsFunc  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Список pgsql-hackers
On Fri, Jun 28, 2019 at 11:39 AM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
>
> In postgresAcquireSampleRowsFunc, we 1) determine the fetch size and
> then 2) construct the fetch command in each iteration of fetching some
> rows from the remote, but that would be totally redundant.

Indeed.

> Attached
> is a patch for removing that redundancy.

It all looks good to me!  I marked it as ready for committer.



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: allow_system_table_mods stuff
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: POC: Cleaning up orphaned files using undo logs