Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 45F5B64FCD9 for ; Tue, 12 Aug 2008 01:30:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 41091-03-3 for ; Tue, 12 Aug 2008 01:30:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from obelix.askesis.nl (laudanum.demon.nl [82.161.125.16]) by postgresql.org (Postfix) with ESMTP id 5A1086501B3 for ; Tue, 12 Aug 2008 01:24:02 -0300 (ADT) thread-index: Acj8Mz7gaNKA4q0HQ/GLDFh6TaHBIw== X-PMWin-Version: 2.6.1, Antivirus-Engine: 2.74.1 Received: from [172.31.1.1] ([172.31.1.1]) by obelix.askesis.nl with Microsoft SMTPSVC(5.0.2195.6713); Tue, 12 Aug 2008 06:24:00 +0200 Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Subject: Re: c type of int8 / serial8? From: "Joost Kraaijeveld" Reply-To: To: "Hiroshi Inoue" Cc: In-Reply-To: <48A0FA8F.2080903@tpf.co.jp> References: <1218388274.4064.48.camel@panoramix.askesis.nl> <48A0FA8F.2080903@tpf.co.jp> Content-Type: text/plain; charset="iso-8859-1" Organization: Askesis B.V. Date: Tue, 12 Aug 2008 06:24:00 +0200 Message-ID: <1218515040.4064.122.camel@panoramix.askesis.nl> MIME-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Aug 2008 04:24:00.0788 (UTC) FILETIME=[3ED72D40:01C8FC33] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/12 X-Sequence-Number: 9572 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