pgsql: Dept of second thoughts: improve the API for AnalyzeForeignTable - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Dept of second thoughts: improve the API for AnalyzeForeignTable
Date
Msg-id E1SGFOO-0006ZF-8n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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:

Previous
From: Tom Lane
Date:
Subject: pgsql: Allow statistics to be collected for foreign tables.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Correct various system catalog/view definitions in the documenta