nextval result type difference between 7.1.3 and 7.2.1

From: Jong-won Choi <jong-won(dot)choi(at)memetrics(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: nextval result type difference between 7.1.3 and 7.2.1
Date: 2002-09-10 04:06:09
Message-ID: 20020910040609.E7D58475AD7@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message oclam 2002-09-10 05:46:59 Compare chinese words
Previous Message Curt Sampson 2002-09-10 03:07:17 Re: Load sharing question