Re: Add GoAway protocol message for graceful but fast server shutdown/switchover

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: Add GoAway protocol message for graceful but fast server shutdown/switchover
Дата
Msg-id DDQJ6HE66UVK.3E1XVYZIVCID8@jeltef.nl
обсуждение исходный текст
Ответ на Re: Add GoAway protocol message for graceful but fast server shutdown/switchover  (Kirill Reshke <reshkekirill@gmail.com>)
Список pgsql-hackers
On Fri Oct 24, 2025 at 7:04 AM CEST, Kirill Reshke wrote:
> On Thu, 23 Oct 2025 at 18:05, Jelte Fennema-Nio <me@jeltef.nl> wrote:
> Im +1 on this idea. This is something I wanted back in 2020, when
> implementing the 'online restart' feature for odyssey[0], but never
> bothered to create a thread.

Yeah, to be clear: A big goal of this is definitely to be used by
poolers/proxies/middleware. Those systems will often be more frequently
restarted than the actual database servers, so being able to do that
quickly without disrupting active connections is much more important
there than with plain PostgreSQL servers.

> About patches:

Thanks for the review. Attached is a new patchset. I think I addressed
all of your comments (I almost fully rewrote the docs). I also fixed
two other issues that I found:
- updating docs for 3.3 in more places
- handling the GoAway message in more code paths on the client side


Вложения

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