Re: listening addresses

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: listening addresses
Дата
Msg-id 200403240407.i2O47lC08366@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: listening addresses  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: listening addresses  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-patches
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > Second attempt attached. The fatal message now reads "no configured
> > listening socket available", but I am not wedded to the wording. I also
> > was not sure how to mark up * in the docs.
>
> Reviewed and committed.
>
> I found a bunch more references in the docs to the postmaster -i and -h
> switches, and I'm far from sure we've hit them all yet; anyone want to
> make another pass to check?
>
> Code-wise it looked great, except that you need to remember to cast the
> argument of isspace() to unsigned char; on most machines with signed
> chars, failing to do this causes big trouble for 8th-bit-set characters.
>
> I went with "no socket configured to listen on" for the failure message,
> but am not wedded to that either.

I updated the error text to:

            (errmsg("no socket configured for listening")));

Hope you like it.

--
  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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch for select and APC on win32
Следующее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: listening addresses