Re: WIP: Collecting statistics on CSV file data

Shigeru Hanada <shigeru.hanada@gmail.com>

From: Shigeru Hanada <shigeru.hanada@gmail.com>
To: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Date: 2011-12-14T06:34:08Z
Lists: pgsql-hackers

Attachments

(2011/12/13 22:00), Etsuro Fujita wrote:
> Thank you for your effectiveness experiments and proposals for
> improvements.  I updated the patch according to your proposals.
> Attached is the updated version of the patch.

I think this patch could be marked as "Ready for committer" with some
minor fixes.  Please find attached a revised patch (v6.1).

Changes from Fujita-san's patch are:

* Fix a typo in src/backend/commands/analyze.c.
* Connect multi-lined message string literals, because PG code style
allows a line including message string literals to go past 80 columns.
* Fix ATPrepSetOptions so that it uses pg_strcasecmp instead of
pg_strncasecmp, becuase it's guaranteed that a) given strings are
null-terminated, and b) they have no trailing.

This feature would enhance cost estimation of foreign scans
substantially.  Great!

Regards,
-- 
Shigeru Hanada

  * 不明 - 自動検出
  * 英語
  * 日本語

  * 英語
  * 日本語

 <javascript:void(0);>