X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5421D9FA6B1 for ; Sat, 3 Jun 2006 19:08:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 11450-01 for ; Sat, 3 Jun 2006 19:08:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from server.nextgap2000.com (server.nextgap2000.com [66.98.160.7]) by postgresql.org (Postfix) with ESMTP id 018169FA6B0 for ; Sat, 3 Jun 2006 19:08:08 -0300 (ADT) Received: from 85.64.138.176.dynamic.barak-online.net ([85.64.138.176] helo=jonathanlaptop) by server.nextgap2000.com with esmtpa (Exim 4.52) id 1FmeHs-0004c3-Tn for pgsql-odbc@postgresql.org; Sun, 04 Jun 2006 01:08:05 +0300 From: "Jonathan Blitz" To: Subject: Return code for bad command Date: Sun, 4 Jun 2006 01:08:31 +0200 Message-ID: <077401c68762$a4e0d2a0$ddf71005@jonathanlaptop> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0775_01C68773.6869A2A0" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Thread-Index: AcaHYqDrslCo03wbTJOZlxU1OeXJ7A== X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.nextgap2000.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anykey.co.il X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/6 X-Sequence-Number: 7754 This is a multi-part message in MIME format. ------=_NextPart_000_0775_01C68773.6869A2A0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable I am using PostgreSQL version 8.0 with VC++ 2005. =20 I use the native VC++ ODBC classes to access the PostgreSQL ODBC driver. =20 When I issue an SQL command with an error I always get the same error = code: 7 =20 The message is ok but the code would be kinda useful =96 don=92t really = want to start parsing the message. =20 I tried it with the 8.02.00.02 driver and the ANSI version of the = 8.01.02.00 =20 Both give the same result. =20 Is this a bug or am I doing something wrong? =20 Jonathan Blitz --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: = 06/02/2006 =20 ------=_NextPart_000_0775_01C68773.6869A2A0 Content-Type: text/html; charset="windows-1250" Content-Transfer-Encoding: quoted-printable

I am using PostgreSQL version 8.0 with VC++ = 2005.

 

I use the native VC++ ODBC classes to access the = PostgreSQL ODBC driver.

 

When I issue an SQL command with an error I always = get the same error code: 7

 

The message is ok but the code would be kinda useful = – don’t really want to start parsing the message.

 

I tried it with the 8.02.00.02 driver and the ANSI = version of the 8.01.02.00

 

Both give the same = result.

 

Is this a bug or am I doing something = wrong?

 

Jonathan Blitz


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: = 06/02/2006

------=_NextPart_000_0775_01C68773.6869A2A0--