Re: WIP: Collecting statistics on CSV file data - Mailing list pgsql-hackers

From Robert Haas
Subject Re: WIP: Collecting statistics on CSV file data
Date
Msg-id CA+TgmoYVsh3eawS_j7Oj+1vO_oM7qC3vNh9YsWZk2NS6G19BNQ@mail.gmail.com
Whole thread Raw
In response to Re: WIP: Collecting statistics on CSV file data  (Shigeru Hanada <shigeru.hanada@gmail.com>)
Responses Re: WIP: Collecting statistics on CSV file data  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
List pgsql-hackers
2011/11/18 Shigeru Hanada <shigeru.hanada@gmail.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: range_adjacent and discrete ranges
Next
From: David Zwarg
Date:
Subject: OidFunctionCall* returning null.