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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/cea49fe82fedcf125eb99a780099eaf47a326b03
Modified Files
--------------
contrib/file_fdw/file_fdw.c | 69 +++++++++++++++++------------
doc/src/sgml/fdwhandler.sgml | 28 ++++++------
src/backend/commands/analyze.c | 94 ++++++++++++++++++----------------------
src/include/foreign/fdwapi.h | 8 ++--
4 files changed, 101 insertions(+), 98 deletions(-)
pgsql-committers by date
| Next: | From: Peter Eisentraut | Date: 2012-04-06 20:56:00 |
| Subject: pgsql: Fix some typos in the documentation |
| Previous: | From: Tom Lane | Date: 2012-04-06 19:02:50 |
| Subject: pgsql: Allow statistics to be collected for foreign tables. |