postgres_fdw: Remove redundancy in postgresAcquireSampleRowsFunc().
Etsuro Fujita <efujita@postgresql.org>
postgres_fdw: Remove redundancy in postgresAcquireSampleRowsFunc(). Previously, in the loop in postgresAcquireSampleRowsFunc() to iterate fetching rows from a given remote table, we redundantly 1) determined the fetch size by parsing the table's server/table-level options and then 2) constructed the fetch command; remove that redundancy. Author: Etsuro Fujita Reviewed-by: Julien Rouhaud Discussion: https://postgr.es/m/CAPmGK17_urk9qkLV65_iYMFw64z5qhdfhY=tMVV6Jg4KNYx8+w@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/postgres_fdw.c | modified | +34 −29 |
Discussion
- postgres_fdw: Minor improvement to postgresAcquireSampleRowsFunc 4 messages · 2019-06-28 → 2019-07-03