Skip site navigation (1) Skip section navigation (2)

Documentation tweaks: ALTER USER, statement-based middleware

From: Greg Smith <greg(at)2ndQuadrant(dot)com>
To: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Documentation tweaks: ALTER USER, statement-based middleware
Date: 2011-04-30 03:46:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
Two small patches attached, based on recent documentation comments 
suggested on the web site.

First alters a few places that ALTER USER is suggested, mainly in the 
context of changing per-user settings.  If you're reading the HTML 
documentation, and you click on ALTER USER, it takes you to a slim page 
that tells you what you really wanted was ALTER ROLE.  That's kind of 
wasteful, and thus the idea to go directly there.  Original doc 
suggestion from Grzegorz Szpetkowski, I found a few more places to tweak 
when assembling the patch.

Wording may be a bit weird in spots though, so I'm not sure this is 
necessarily an improvement in all cases.  Right now the description 
around these says things like "debugging could be enabled for all 
sessions under a given user name by setting this parameter with ALTER 
USER SET".  Making that ALTER ROLE instead saves that page redirect 
shuffle for document readers, but is it as clear to people who may not 
know user==role?  Hard to say.

Second doc patch is more straightforward, and based on an observation by 
James Bruce.  The description of how read/write traffic can be scaled 
with statement-based middleware was so terse that it was hard to 
understand.  His suggested rewording shows he didn't follow the idea it 
was trying to communicate at all.  The updated wording I'm providing is 
more explicit and shouldn't be as confusing.  While in there, I also 
fixed the obsolete mention of Sequoia with the current Continuent 
project name of Tungsten; 
documents the name change.

Greg Smith   2ndQuadrant US    greg(at)2ndQuadrant(dot)com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support

Attachment: less-alter-user.patch
Description: text/x-patch (2.8 KB)
Attachment: middleware-reads.patch
Description: text/x-patch (1.4 KB)


pgsql-docs by date

Next:From: Josh KupershmidtDate: 2011-05-01 23:07:10
Subject: Re: boolean states
Previous:From: Jack DouglasDate: 2011-04-29 07:29:45
Subject: Re: boolean states

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group