beginning and ending of sessions

Started by jodyabout 16 years ago2 messagesgeneral
Jump to latest
#1jody
jody.xha@gmail.com

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

#2Guillaume Lelarge
guillaume@lelarge.info
In reply to: jody (#1)
Re: beginning and ending of sessions

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