X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 35F63474E4F for ; Fri, 14 Feb 2003 02:39:28 -0500 (EST) Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.4.3]) by postgresql.org (Postfix) with ESMTP id EC005474E42 for ; Fri, 14 Feb 2003 02:39:26 -0500 (EST) Received: from ecn002.frec.bull.fr (ecn002.frec.bull.fr [129.183.17.8]) by ecbull20.frec.bull.fr (8.9.2/8.9.1) with ESMTP id IAA11732 for ; Fri, 14 Feb 2003 08:39:59 +0100 Received: from BULL.NET ([129.183.148.134]) by ecn002.frec.bull.fr (Lotus Domino Release 5.0.10) with ESMTP id 2003021408435591:11 ; Fri, 14 Feb 2003 08:43:55 +0100 Message-ID: <3E4C9D57.C633AD06@BULL.NET> Date: Fri, 14 Feb 2003 08:40:08 +0100 From: Thierry Missimilly Organization: BSIS/R&D X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: fr,en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: How to get Postgres in ODBC X-MIMETrack: Itemize by SMTP Server on ECN002/FR/BULL(Release 5.0.10 |March 22, 2002) at 14/02/2003 08:43:55, Serialize by Router on ECN002/FR/BULL(Release 5.0.10 |March 22, 2002) at 14/02/2003 08:43:58, Serialize complete at 14/02/2003 08:43:58 Content-Type: multipart/mixed; boundary="------------31732B0DD117B265342DC315" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/215 X-Sequence-Number: 7413 This is a multi-part message in MIME format. --------------31732B0DD117B265342DC315 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I'm trying to develop a C application using ODBC on PostgreSQL 7.3.1. I link my application with the lib : libodbcpsql.so.2.0.0. But the ODBC function SQLGetDiagRec() used to get the error message does not exist in this lib. Does anyone, can tell me how to get back the postgres error message through the ODBC API. Thierry --------------31732B0DD117B265342DC315 Content-Type: text/x-vcard; charset=us-ascii; name="THIERRY.MISSIMILLY.vcf" Content-Description: Card for Thierry Missimilly Content-Disposition: attachment; filename="THIERRY.MISSIMILLY.vcf" Content-Transfer-Encoding: 7bit begin:vcard n:Missimilly;Thierry tel;fax:+33 (0)4 76 29 78 78 tel;work:+33 (0)4 76 29 74 54 x-mozilla-html:FALSE url:http:\\www.bull.com org:BIS/R&D adr:;;Bull SA, 1, rue de provence - BP 208;ECHIROLLES;;38432;FRANCE version:2.1 email;internet:Thierry.Missimilly@bull.net x-mozilla-cpt:;-18184 fn:Thierry Missimilly end:vcard --------------31732B0DD117B265342DC315--