Re: GSoD - a patch for Getting Started tutorial - Mailing list pgsql-docs

From Laurenz Albe
Subject Re: GSoD - a patch for Getting Started tutorial
Date
Msg-id 2dd3a48be2f6b7b18631051b61e568fea98c10ec.camel@cybertec.at
Whole thread Raw
In response to Re: GSoD - a patch for Getting Started tutorial  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: GSoD - a patch for Getting Started tutorial  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
On Tue, 2019-11-19 at 10:58 -0500, Tom Lane wrote:
> > i'm all for linking to the download page for the exact install commands
> > (which I did), but i see no harm in mentioning e.g. install/data
> > directories in documentation. It is something I myself went back to when
> > working on this tutorial update, so I believe the user will do too. But
> > let's hope we'll hear other opinions as well before I go and rework it all.
> 
> Traditionally we've stayed away from this on the grounds that we don't
> control packaging details and so we wouldn't know when whatever we say
> becomes obsolete.  Moreover, packaging changes tend not to be quantized
> to happen in sync with Postgres releases, so that even if we know
> something changed, there'd be a delay to get the word out.
> 
> Maybe those arguments can be discounted if the proposal is *only* to
> document the PGDG packages, but will such a restricted solution really
> satisfy anyone?  I'm concerned that novices will not realize that the
> presented details don't apply to whatever vendor-supplied Postgres
> they are using.  This thread already presents a great example in its
> confusion over what the default auth method is on Red Hat packages.

The confusion was my fault because I didn't follow the tutorial,
but the point is valid (others may make similar blunders).

I think that the danger of changing paths in the PGDG binaries is
limited.

It might be a good idea to provide links to the documentation of
other popular binary distributions, e.g. for MacOS.  We can add a
disclaimer that details can differ on these platforms.

I kind of like the "troubleshooting" section, but I am unsure where
to set the limit.  What is there currently doesn't cover all
potential causes (e.g., connection via TCP, see Windows), but
being exhaustive is probably impossible and not even desirable.

On the one hand I can see this section as being helpful for the
host of people who are having problems connecting, on the other hand
the true beginner might have trouble understanding explanations
containing terms like "absolute path" and "Unix-domain sockets".

(Side remark: I think the spelling should be "UNIX domain sockets".)


I'd be sorry if this effort goes to waste, and there are valuable
additions here.

I think that the material in this patch is an improvement over
the "Installation" section in the current tutorial, but that the
other sections ("Architectural Fundamentals", "Creating a Database"
and "Accessing a Database") are better in the original.

And I like the idea of a "troubleshooting" section.

Yours,
Laurenz Albe




pgsql-docs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: GSoD - a patch for Getting Started tutorial
Next
From: Daniel Gustafsson
Date:
Subject: Odd markup in SSL mode table