Skip site navigation (1) Skip section navigation (2)

pgsql: Dept of second thoughts: improve the API forAnalyzeForeignTable

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 forAnalyzeForeignTable
Date: 2012-04-06 20:04:20
Message-ID: E1SGFOO-0006ZF-8n@gemulon.postgresql.org (view raw or flat)
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(-)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2012-04-06 20:56:00
Subject: pgsql: Fix some typos in the documentation
Previous:From: Tom LaneDate: 2012-04-06 19:02:50
Subject: pgsql: Allow statistics to be collected for foreign tables.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group