2011/11/18 Shigeru Hanada <shigeru(dot)hanada(at)gmail(dot)com>:
> - I couldn't see the reason why file_fdw sets ctid of sample tuples,
> though I guess it's for Vitter's random sampling algorithm. If every
> FDW must set valid ctid to sample tuples, it should be mentioned in
> document of AnalyzeForeignTable. Exporting some functions from
> analyze.c relates this issue?
If every FDW must set valid ctid to sample tuples, it should be fixed
so that they don't have to, I would think.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company