We could extend IndexBuildHeapScan's API to support that, but I'm not quite convinced that this is the issue.
That extension might be useful for bitmap index too to simplify index creation process.
-- Teodor Sigaev E-mail: teodor@xxxxxxxxx WWW: http://www.sigaev.ru/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general