From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | Noah Misch <noah(at)leadboat(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Re: [COMMITTERS] pgsql: Refer to a TOKEN_USER payload as a "token user, " not as a "user |
Date: | 2016-04-03 03:04:39 |
Message-ID: | 20160403030439.GL10850@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
* Noah Misch (noah(at)leadboat(dot)com) wrote:
> On Fri, Apr 01, 2016 at 11:07:01PM -0400, Tom Lane wrote:
> > Stephen Frost <sfrost(at)snowman(dot)net> writes:
> > > * Noah Misch (noah(at)leadboat(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-04-03 05:08:54 | Re: Re: [COMMITTERS] pgsql: Refer to a TOKEN_USER payload as a "token user, " not as a "user |
Previous Message | Noah Misch | 2016-04-03 03:02:23 | Re: Re: [COMMITTERS] pgsql: Refer to a TOKEN_USER payload as a "token user, " not as a "user |
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2016-04-03 03:39:35 | Re: PostgreSQL 9.6 Feature Freeze - April 8, 2016 |
Previous Message | Noah Misch | 2016-04-03 03:02:23 | Re: Re: [COMMITTERS] pgsql: Refer to a TOKEN_USER payload as a "token user, " not as a "user |