Re: Cognitive dissonance

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, John Gage <jsmgage(at)numericable(dot)fr>, PostgreSQL - General <pgsql-general(at)postgresql(dot)org>, Robert Gravsjö <robert(at)blogg(dot)se>
Subject: Re: Cognitive dissonance
Date: 2010-06-12 16:01:58
Message-ID: 201006121601.o5CG1wL21141@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general

Peter Eisentraut wrote:
> On l?r, 2010-06-12 at 09:10 -0400, Tom Lane wrote:
> > Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > > On l?r, 2010-06-12 at 11:18 +0200, John Gage wrote:
> > >> A one file html version would be a godsend.
> >
> > > I've committed a build target for that now. Use 'make postgres.html' in
> > > doc/src/sgml/.
> >
> > Huh, is that actually worth anything? How many browsers will open it
> > without crashing, or will navigate the page with decent performance
> > if they do manage to open it?
>
> Text output is generated by going through HTML. I haven't figured out
> the best way to do the second step yet. We use lynx for INSTALL and
> HISTORY, but the results for this big file aren't very clean.
>
> Browsers seem to handle the file OK, btw.

Well, I tried lynx and the output looked fine to me, so I applied the
attached patch to allow single-page text output. You can see the HTML
and text file results here:

http://momjian.us/expire/

The new rule name is postgres.txt. The file size are:

7,789,730 postgres.html
5,155,672 postgres.txt

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ None of us is going to be here forever. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 777 bytes

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message John Gage 2010-06-12 16:39:55 Re: Cognitive dissonance
Previous Message Peter Eisentraut 2010-06-12 15:42:24 Re: Cognitive dissonance

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2010-06-12 16:14:10 2010 eclipse community survey
Previous Message Peter Eisentraut 2010-06-12 15:42:24 Re: Cognitive dissonance