| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Dept of second thoughts: improve the API for AnalyzeForeignTable |
| Date: | 2012-04-06 20:04:20 |
| Message-ID: | E1SGFOO-0006ZF-8n@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2012-04-06 20:56:00 | pgsql: Fix some typos in the documentation |
| Previous Message | Tom Lane | 2012-04-06 19:02:50 | pgsql: Allow statistics to be collected for foreign tables. |