Dept of second thoughts: improve the API for AnalyzeForeignTable.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: cea49fe82fedcf125eb99a780099eaf47a326b03
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-04-06T20:04:10Z
Releases: 9.2.0
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

PathChange+/−
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