pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Noah Misch <noah@leadboat.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Re: [COMMITTERS] pgsql: Refer to a TOKEN_USER payload as a "token user, " not as a "user
Date: Sat, 2 Apr 2016 23:04:39 -0400
Message-ID: <20160403030439.GL10850@tamriel.snowman.net> (raw)
In-Reply-To: <20160403030223.GA1583947@tornado.leadboat.com>
References: <E1amAnM-00064w-Mf@gemulon.postgresql.org>
	<20160402021211.GH10850@tamriel.snowman.net>
	<20160402024613.GC1545657@tornado.leadboat.com>
	<20160402025113.GI10850@tamriel.snowman.net>
	<9653.1459566421@sss.pgh.pa.us>
	<20160403030223.GA1583947@tornado.leadboat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

* Noah Misch (noah@leadboat.com) wrote:
> On Fri, Apr 01, 2016 at 11:07:01PM -0400, Tom Lane wrote:
> > Stephen Frost <sfrost@snowman.net> writes:
> > > * Noah Misch (noah@leadboat.com) wrote:
> > >> I see some advantages of writing "TokenUser", as you propose.  However, our
> > >> error style guide says "Avoid mentioning called function names, either;
> > >> instead say what the code was trying to do."  Mentioning an enumerator name is
> > >> morally similar to mentioning a function name.
> > 
> > > That's a fair point, but it doesn't mean we should use a different
> > > spelling for the enumerator name to avoid that piece of the policy.  I
> > > certianly don't see "token user" as saying "what the code was trying to
> > > do" in this case.
> > 
> > FWIW, "token user" conveys entirely inappropriate, politically incorrect
> > connotations to me ;-).  I don't have any great suggestions on what to use
> > instead, but I share Stephen's unhappiness with the wording as-committed.
> 
> The wording in GetTokenUser() and AddUserToTokenDacl() seems fine; let's
> standardize on that.  Also, every GetTokenUser() failure has been yielding two
> messages, the second contributing no further detail.  I'll reduce that to the
> usual one message per failure.

This approach works for me.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (8+ messages)  latest in thread

Message-ID: <20160403030439.GL10850@tamriel.snowman.net>
Permalink:  ../20160403030439.GL10850@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20160403030439.GL10850@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: sfrost@snowman.net, noah@leadboat.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Refer to a TOKEN_USER payload as a "token user, " not as a "user
  In-Reply-To: <20160403030439.GL10850@tamriel.snowman.net>
  References: <E1amAnM-00064w-Mf@gemulon.postgresql.org> <20160402021211.GH10850@tamriel.snowman.net> <20160402024613.GC1545657@tornado.leadboat.com> <20160402025113.GI10850@tamriel.snowman.net> <9653.1459566421@sss.pgh.pa.us> <20160403030223.GA1583947@tornado.leadboat.com> <20160403030439.GL10850@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox