Обсуждение: pgsql: postgres_fdw: Allow fetch_size to be set per-table or per-server

Поиск
Список
Период
Сортировка

pgsql: postgres_fdw: Allow fetch_size to be set per-table or per-server

От
Robert Haas
Дата:
postgres_fdw: Allow fetch_size to be set per-table or per-server.

The default fetch size of 100 rows might not be right in every
environment, so allow users to configure it.

Corey Huinker, reviewed by Kyotaro Horiguchi, Andres Freund, and me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/dc203dc3ac40a4b02b92fb827848a547d2957153

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 60 ++++++++++++++++++++++++++
contrib/postgres_fdw/option.c                  | 14 ++++++
contrib/postgres_fdw/postgres_fdw.c            | 50 ++++++++++++++++-----
contrib/postgres_fdw/postgres_fdw.h            |  2 +
contrib/postgres_fdw/sql/postgres_fdw.sql      | 44 +++++++++++++++++++
doc/src/sgml/postgres-fdw.sgml                 | 27 +++++++++---
6 files changed, 180 insertions(+), 17 deletions(-)