From: Hiroshi Inoue <inoue@tpf.co.jp>
To: J.Kraaijeveld@Askesis.nl
Cc: pgsql-odbc@postgresql.org
Subject: Re: c type of int8 / serial8?
Date: Tue, 12 Aug 2008 14:30:29 +0900
Message-ID: <48A11FF5.1000704@tpf.co.jp> (raw)
In-Reply-To: <1218515040.4064.122.camel@panoramix.askesis.nl>
References: <1218388274.4064.48.camel@panoramix.askesis.nl>
<48A0FA8F.2080903@tpf.co.jp>
<1218515040.4064.122.camel@panoramix.askesis.nl>
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.
regards,
Hiroshi Inoue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, J.Kraaijeveld@Askesis.nl
Subject: Re: c type of int8 / serial8?
In-Reply-To: <48A11FF5.1000704@tpf.co.jp>
References: <1218388274.4064.48.camel@panoramix.askesis.nl> <48A0FA8F.2080903@tpf.co.jp> <1218515040.4064.122.camel@panoramix.askesis.nl> <48A11FF5.1000704@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox