Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > I think I have finally figured out a way to do this correctly now.
>
> Yay. The existing method completely sucks --- I find that it *never*
> does one run on a rebuild, but at least two and sometimes three.
> I don't know whether it's feasible to implement "rebuild only if the
> index changed" in make, but we definitely haven't got that now, so
> eliminating the attempt is no hardship.
BTW I discovered a couple of years ago that if you set the DSSSL stuff
to build only the index and not output the HTML, the first pass is
*very* fast. It required patching some lispy file however, so I'm not
sure if we can usefully take advantage of that. I can find the details
if you're interested.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support