Обсуждение: beginning and ending of sessions

Поиск
Список
Период
Сортировка

beginning and ending of sessions

От
jody
Дата:
Hi
In the postgres documentation under "1.2. Architectural Fundamentals"
it is said that a session consists of a server process and a client application.

But i don't really understand when a session begins and when it ends.
Does a session correspond to a connection such as when
calling the php-function pg_connect() ?

Thank You
  jody

Re: beginning and ending of sessions

От
Guillaume Lelarge
Дата:
Le 12/03/2010 16:00, jody a écrit :
> [...]
> In the postgres documentation under "1.2. Architectural Fundamentals"
> it is said that a session consists of a server process and a client application.
>
> But i don't really understand when a session begins and when it ends.
> Does a session correspond to a connection such as when
> calling the php-function pg_connect() ?
>

Right. And it ends when you call pg_close().


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com