Re: Dangling Client Backend Process

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Dangling Client Backend Process
Дата
Msg-id 20151020161127.GQ3391@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Dangling Client Backend Process  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Dangling Client Backend Process  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas wrote:

> I don't think that proc_exit(1) is the right way to exit here.  It's
> not very friendly to exit without at least attempting to give the
> client a clue about what has gone wrong.  I suggest something like
> this:
> 
>             ereport(FATAL,
>                     (errcode(ERRCODE_ADMIN_SHUTDOWN),
>              errmsg("terminating connection due to postmaster shutdown")));

Agreed, but I don't think "shutdown" is the right word to use here --
that makes it sound like it was orderly.  Perhaps "crash"?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: CharSyam
Дата:
Сообщение: [PATCH] Typos in comments
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Multi-column distinctness.