Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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.
regards, tom lane