Re: Surviving connections after internet problem

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Surviving connections after internet problem
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B5397A9BA@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: Surviving connections after internet problem  (Durumdara <durumdara@gmail.com>)
Список pgsql-general
Durumdara wrote:
>> You can use pg_terminate_backend to kill a database session.
>>
>> Setting the keepalive options in postgresql.conf can make PostgreSQL
>> discover dead connections more quickly.
> 
> The server is licenced, so we can't access the conf file now.
> We will report this to the provider.

You cannot use ALTER SYSTEM from SQL either?

> For that moment could we set these parameters from clients after the connection established?
> 
> For example:
> 
> set param bla = nnn?

Yes, that should work, e.g.:

SET tcp_keepalives_idle = 600;

Yours,
Laurenz Albe

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

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: Linux equivalent library for "postgres.lib" from Windows
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Fwd: Creating multiple instances of postresql on Windows environment