Re: Re: [COMMITTERS] pgsql: Build HTML documentation using XSLT stylesheets by default

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Erik Rijkers <er(at)xs4all(dot)nl>, Peter Eisentraut <peter_e(at)gmx(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [COMMITTERS] pgsql: Build HTML documentation using XSLT stylesheets by default
Date: 2016-11-16 15:25:12
Message-ID: CA+TgmoYN+rLQoQzpWfLGYcNw7JCvO4P1RNjYYCux7cY-H3CZKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Nov 16, 2016 at 9:46 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Erik Rijkers <er(at)xs4all(dot)nl> writes:
>> This xslt build takes 8+ minutes, compared to barely 1 minute for
>> 'oldhtml'.
>
> I'm just discovering the same.
>
>> I'd say that is a strong disadvantage.
>
> I'd say that is flat out unacceptable. I won't ever use this toolchain
> if it's that much slower than the old way. What was the improvement
> we were hoping for, again?

Gosh, and I thought the existing toolchain was already ridiculously
slow. Couldn't somebody write a Perl script that generated the HTML
documentation from the SGML in, like, a second? I mean, we're
basically just mapping one set up markup tags to another set of markup
tags. And splitting up some files for the HTML version. And adding
some boilerplate. But none of that sounds like it should be all that
hard.

I am reminded of the saying that XML is like violence -- if it doesn't
solve your problem, you're not using enough of it.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-11-16 15:33:56 Re: Re: [COMMITTERS] pgsql: Build HTML documentation using XSLT stylesheets by default
Previous Message Andrew Dunstan 2016-11-16 15:16:31 Re: Re: [COMMITTERS] pgsql: Build HTML documentation using XSLT stylesheets by default

Browse pgsql-hackers by date

  From Date Subject
Next Message Tobias Bussmann 2016-11-16 15:25:16 Re: Parallel execution and prepared statements
Previous Message Andrew Dunstan 2016-11-16 15:16:31 Re: Re: [COMMITTERS] pgsql: Build HTML documentation using XSLT stylesheets by default