Re: database shutdown with persistent client connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: database shutdown with persistent client connections
Дата
Msg-id 27612.1028124591@sss.pgh.pa.us
обсуждение исходный текст
Ответ на database shutdown with persistent client connections  (g.hintermayer@inode.at (Gerhard Hintermayer))
Список pgsql-general
g.hintermayer@inode.at (Gerhard Hintermayer) writes:
> Is there a notification sen't out in either smart or fast shutdown
> mode ?

Sure: the backend sends an error message
  FATAL:  This connection has been terminated by the administrator.
before closing the connection.

The problem you're describing is that the client-side code isn't looking
for any communication from the server except when it's involved in a SQL
command.  I'm not sure what you can do about that except restructure the
client.

            regards, tom lane

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

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Have been accepted as a writer for "The Register"
Следующее
От: Darren Ferguson
Дата:
Сообщение: Re: Have been accepted as a writer for "The Register"