Re: c type of int8 / serial8?

From: "Joost Kraaijeveld" <J(dot)Kraaijeveld(at)Askesis(dot)nl>
To: "Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: c type of int8 / serial8?
Date: 2008-08-12 04:24:00
Message-ID: 1218515040.4064.122.camel@panoramix.askesis.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Tue, 2008-08-12 at 11:50 +0900, Hiroshi Inoue wrote:
> Joost Kraaijeveld wrote:
> > Hi,
> >
> > I wonder what the C type of int8 / serial8 is.
> >
> > If I use SQLGetTypeInfo() to get all the supported type is says that
> > int8 is of SQL type SQL_BIGINT. It does not show any values for serial8
> > but I suppose that that is a user defined type and the driver is not
> > required to show those (is that correct?).
>
> No.
> serial8 is bigint not a user defined type.

In that case : why doesn't SQLGetTypeInfo return serial8 (and serial) as
a supported type?

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Joost Kraaijeveld 2008-08-12 04:36:02 Re: int2: sql type bug?
Previous Message Hiroshi Inoue 2008-08-12 04:04:03 Re: int2: sql type bug?