Re: SessionID, pretty please

Поиск
Список
Период
Сортировка
От Tom D
Тема Re: SessionID, pretty please
Дата
Msg-id 1149802824.246500.182550@y43g2000cwc.googlegroups.com
обсуждение исходный текст
Ответ на Re: SessionID, pretty please  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
thanks.

Tom Lane wrote:
> tom.darci@gmail.com writes:
> >   My troubles would be solved if I could reference a SessionID from
> > within PG. Any hope?
>
> Create a sequence.  At session start, nextval() it to assign a session
> ID for your session.  Then currval() returns your session ID whenever
> you need it.
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly


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

Предыдущее
От: "pobox@verysmall.org"
Дата:
Сообщение: Re: 010.pgsql.sh does not react
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: 010.pgsql.sh does not react