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 ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend