nextval result type difference between 7.1.3 and 7.2.1 - Mailing list pgsql-general

From Jong-won Choi
Subject nextval result type difference between 7.1.3 and 7.2.1
Date
Msg-id 20020910040609.E7D58475AD7@postgresql.org
Whole thread Raw
Responses Re: nextval result type difference between 7.1.3 and 7.2.1  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Curt Sampson
Date:
Subject: Re: Load sharing question
Next
From: jerome
Date:
Subject: getting column names for tables..