Skip site navigation (1) Skip section navigation (2)

Re: c type of int8 / serial8?

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: J(dot)Kraaijeveld(at)Askesis(dot)nl
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: c type of int8 / serial8?
Date: 2008-08-12 05:30:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
Joost Kraaijeveld wrote:
> 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?

I'm not sure if the driver should report serial(8) as a suppooted type.
They both are kind of macro and don't exist in pg_type.

Hiroshi Inoue

In response to

pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2008-08-12 06:54:24
Subject: Re: time with time zone sql type?
Previous:From: Joost KraaijeveldDate: 2008-08-12 04:36:02
Subject: Re: int2: sql type bug?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group