Re: strange error reporting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: strange error reporting
Дата
Msg-id 798280.1611192827@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: strange error reporting  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: strange error reporting  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: strange error reporting  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
>>> Maybe it would be better if it said:
>>> connection to database at socket "/tmp/.s.PGSQL.5432" failed: FATAL:
>>> database "rhaas" does not exist

>> I'd be inclined to spell it "connection to server at ... failed",
>> but that sort of wording is surely also possible.

> "connection to server" rather than "connection to database" works for
> me; in fact, I think I like it slightly better.

If I don't hear any other opinions, I'll change these messages to

"connection to server at socket \"%s\" failed: "
"connection to server at \"%s\" (%s), port %s failed: "

(or maybe "server on socket"?  "at" sounds right for the IP address
case, but it feels a little off in the socket pathname case.)

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: POC: postgres_fdw insert batching
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Printing backtrace of postgres processes