Re: A smaller default postgresql.conf - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: A smaller default postgresql.conf
Date
Msg-id 20080821130203.GN4169@alvh.no-ip.org
Whole thread Raw
In response to Re: A smaller default postgresql.conf  (David Fetter <david@fetter.org>)
Responses Re: A smaller default postgresql.conf  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
David Fetter wrote:

> And we're back to man pages and CHM files.

So, did anyone else try to generate man pages?  I did "make man" and ran
into several issues.

The first is that D2MDIR needs to be specified manually.  I assume this
is how everyone does it, so I did that.

The second is that the Perl script as packaged by Debian doesn't work --
it is missing a handful of HTML entities, and it errors out before
generating anything.  I had to patch it thusly:

*** docbook2man-spec.pl.orig    2008-08-21 08:56:20.000000000 -0400
--- docbook2man-spec.pl    2008-08-19 18:13:22.000000000 -0400
***************
*** 1177,1182 ****
--- 1177,1192 ---- man_sgml('|[copy  ]|', '(C)'); man_sgml('|[nbsp  ]|', '\~'); man_sgml('|[thinsp]|', '\~');
+ man_sgml('|[mdash ]|', '--');
+ man_sgml('|[pi    ]|', 'pi');
+ man_sgml('|[ntilde]|', 'ñ');
+ man_sgml('|[aacute]|', 'á');
+ man_sgml('|[oacute]|', 'ó');
+ man_sgml('|[bull  ]|', 'X');
+ man_sgml('|[quot  ]|', '"');
+ man_sgml('|[scaron]|', 'š');
+ man_sgml('|[oslash]|', 'ø');
+ man_sgml('|[ouml  ]|', 'ö');  # # Default handlers (uncomment these if needed).  Right now, these are set


The third problem I ran into is that manpages that are supposed to go
into the "l" section do not; the filename ends in a dot:

$ ls | tail -10
SPI_saveplan.
SPI_scroll_cursor_fetch.
SPI_scroll_cursor_move.
START TRANSACTION.
TRUNCATE.
UNLISTEN.
UPDATE.
VACUUM.
VALUES.
version.sgml

The makefile is passing "--section l" so I'm not sure what's going wrong
here.

And lastly, I couldn't figure out what decides which manpages are
generated, to make it pick the text we want to publish.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: alexander lunyov
Date:
Subject: Re: migrate data 6.5.3 -> 8.3.1
Next
From: Tatsuhito Kasahara
Date:
Subject: About a message when "pg_ctl -w start" failed