postgres_fdw: Allow fetch_size to be set per-table or per-server.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/expected/postgres_fdw.out | modified | +60 −0 |
| contrib/postgres_fdw/option.c | modified | +14 −0 |
| contrib/postgres_fdw/postgres_fdw.c | modified | +40 −10 |
| contrib/postgres_fdw/postgres_fdw.h | modified | +2 −0 |
| contrib/postgres_fdw/sql/postgres_fdw.sql | modified | +44 −0 |
| doc/src/sgml/postgres-fdw.sgml | modified | +20 −7 |