Re: how to PG close session

Поиск
Список
Период
Сортировка
От Little, Douglas
Тема Re: how to PG close session
Дата
Msg-id 8585BA53443004458E0BAA6134C5A7FB1952098A@EGEXCMB01.oww.root.lcl
обсуждение исходный текст
Ответ на Re: how to PG close session  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: how to PG close session  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-admin
Thanks

The only admin function that look close is

pg_terminate_backend(pid int)    boolean    Terminate a backend

I tried it and it couldn't be found.  It is newist.  We're running PG8.2.13/GP3.3.7


>Oh, these connections aren't waiting for *database* events?  Then
>you should either restructure the apps or use a connection pool.
>Two popular "drop in" connection poolers are pgbouncer and pgpool.

We tried pgpool for awhile,   but I think I'll have a look at the code first.
I did find in the JDBC doc  connections.close  which should do the trick I suspect.

Thanks

> I'm really looking for the PG command to close a session.

http://www.postgresql.org/docs/current/interactive/functions-admin.html#FUNCTIONS-ADMIN-SIGNAL-TABLE

-Kevin

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

Предыдущее
От: Kenichiro Tanaka
Дата:
Сообщение: Re: I can't get postgres started.
Следующее
От: Tena Sakai
Дата:
Сообщение: Re: I can't get postgres started.