Re: backend hangs at immediate shutdown

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: backend hangs at immediate shutdown
Дата
Msg-id 20130130233653.GA1584@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: backend hangs at immediate shutdown  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: backend hangs at immediate shutdown  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: backend hangs at immediate shutdown  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
On 2013-01-31 08:27:13 +0900, Tatsuo Ishii wrote:
> > This isn't an area that admits of quick-fix solutions --- everything
> > we might do has disadvantages.  Also, the lack of complaints to date
> > shows that the problem is not so large as to justify panic responses.
> > I'm not really inclined to mess around with a tradeoff that's been
> > working pretty well for a dozen years or more.
> 
> What about adding a caution to the doc something like:
> 
>      "pg_ctl -m -i stop" may cause a PostgreSQL hang if native laguage support enabled.

That doesn't entirely solve the problem, see quote and reply in
6845.1359561252@sss.pgh.pa.us

I think adding errmsg_raw() or somesuch that doesn't allocate any memory
and only accepts constant strings could solve the problem more
completely, at the obvious price of not allowing translated strings
directly.
Those could be pretranslated during startup, but thats mighty ugly.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: backend hangs at immediate shutdown
Следующее
От: Tom Lane
Дата:
Сообщение: Re: backend hangs at immediate shutdown