Re: database session variables

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: database session variables
Дата
Msg-id 20021002020635.GB2745@svana.org
обсуждение исходный текст
Ответ на Re: database session variables  ("Mark Wilson" <mark@mediasculpt.com>)
Список pgsql-general
On Wed, Oct 02, 2002 at 01:48:46PM +1200, Mark Wilson wrote:
> Thanks Martijin,
>
> It sounds like the process_id is the 'correct' name for what I was calling
> session_id, and is what I want.  To answer your question, Oracle lets you
> have session specific variables, via package variables.

Hmm, the client can get it using $conn->backendPID in perl or PQbackendPID
in C. I don't know how you do it from the backend itself.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.

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

Предыдущее
От: "Mark Wilson"
Дата:
Сообщение: Re: database session variables
Следующее
От: Justin Clift
Дата:
Сообщение: Re: PostgreSQL Website : advocacy.postgresql.org