nextval result type difference between 7.1.3 and 7.2.1

Поиск
Список
Период
Сортировка
От Jong-won Choi
Тема nextval result type difference between 7.1.3 and 7.2.1
Дата
Msg-id 20020910040609.E7D58475AD7@postgresql.org
обсуждение исходный текст
Ответы Re: nextval result type difference between 7.1.3 and 7.2.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
[Somehow my emails bounced back, I'm doing this using telnet with SMTP port!]
Hello,

I use PostgreSQL, UnixODBC, and Lisp configuration.

I call 'nextval' to get an ID on Lisp like:

        (query "select nextval('UNIQUE_ID_SEQUENCE')")

With PostgreSQL 7.1.3 and UnixODBC 2.0.7 or 2.2.3 it returns an
integer(ex, 123), but with PostgreSQL 7.2.1, it returns a string(ex,
"123").

Any idea how to fix the problem?

Cheers,

- Jong-won Choi

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

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: Load sharing question
Следующее
От: jerome
Дата:
Сообщение: getting column names for tables..