Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2 - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2
Date
Msg-id 200510152128.j9FLSR729711@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Magnus Hagander wrote:
> >> This is not correct.
> >> The default is *not* "localhost". It's the "local host name". As in
> >> what's returned by gethostname().
>
> > Ah, local host name, not localhost.  Poor wording.  Text updated:
>
> >     If not set, the default is the server hostname.  See <xref
> >     linkend="kerberos-auth"> for details.  This parameter can only be set at
> >     server start.
>
> The code patch also assumed that "localhost" is a valid way to describe
> the default; you have to do something about that too.

OK, I changed it to "server hostname".  Is there a cleaner way to do it?
I don't see us printing the server name anywhere in the our code.  I
don't see us calling gethostname() anywhere in our code.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: Documentation typos
Next
From: Neil Conway
Date:
Subject: Re: [HACKERS] roundoff problem in time datatype