Re: SessionID, pretty please

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SessionID, pretty please
Дата
Msg-id 859.1149798141@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SessionID, pretty please  (tom.darci@gmail.com)
Ответы Re: SessionID, pretty please
Список pgsql-general
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

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

Предыдущее
От: Bricklen Anderson
Дата:
Сообщение: Re: ERROR: for SELECT DISTINCT, ORDER BY expressions must
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: UTF8 problem