Dept of second thoughts: improve the API for AnalyzeForeignTable.
Tom Lane <tgl@sss.pgh.pa.us>
Dept of second thoughts: improve the API for AnalyzeForeignTable. If we make the initially-called function return the table physical-size estimate, acquire_inherited_sample_rows will be able to use that to allocate numbers of samples among child tables, when the day comes that we want to support foreign tables in inheritance trees.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/file_fdw/file_fdw.c | modified | +40 −29 |
| doc/src/sgml/fdwhandler.sgml | modified | +15 −13 |
| src/backend/commands/analyze.c | modified | +42 −52 |
| src/include/foreign/fdwapi.h | modified | +4 −4 |