From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Can we bring some organization to the configure options list? |
Date: | 2019-08-29 00:16:08 |
Message-ID: | 11363.1567037768@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
I wrote:
> I was just noticing, while answering a user question, the amount of
> unorganized urban sprawl we've accumulated in
> https://www.postgresql.org/docs/devel/install-procedure.html
> We've got practically-essential options like --prefix and
> --with-openssl intermixed with obscure portability flags
> and options that only developers should take any interest in.
> For bonus points, the ordering seems chosen largely by dartboard;
> there's certainly no visible plan to it.
> I think we should try to improve the situation by dividing the
> configure options into categories and/or separating commonly
> used options from obscure ones. I don't have any concrete
> proposal to make right now, but I am hoping to kick off a
> discussion about what such an organization would look like.
Hearing nothing but crickets, I took a stab at this myself,
ending up with a division into these categories:
Installation Locations
PostgreSQL Features
PostgreSQL Anti-Features
Build Process Details
Miscellaneous
Developer Options
plus a separate section for environment variables.
This seems to me to work fairly well, though surely it's not
the only way things could have been divided. Except for the
"Features" section which contains many commonly-used options,
there's generally only one or two commonly-used options per
section, which I put first. I also added a short para of
advice about which options to use, where it seemed helpful.
DocBook wasn't happy with putting <sectN> inside a
<procedure>'s step list, so I had to move all this stuff
out of the installation procedure's step list. I'm not
sure whether I like that or not --- it does result in the
step list being fairly short and comprehensible, but the
info that you need to consult for the "configure" step is
now some distance away. It's moot unless somebody knows
another way to do the markup, though.
Because of relocating and re-ordering the options, the diff
is just about unreadable :-(. However, I mostly refrained
from changing the descriptions of individual options.
They're just ordered differently, and there is more text
around them. I did yield to temptation in some small ways
though.
Comments?
regards, tom lane
Attachment | Content-Type | Size |
---|---|---|
categorize-configure-options-1.patch | text/x-diff | 52.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-08-29 01:39:03 | Cleaning up some remarkably old stuff in installation.sgml |
Previous Message | Tomas Vondra | 2019-08-28 18:25:41 | Re: Most-common value docs in PG 12 |