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 EC6E19FA5CE for ; Sun, 4 Jun 2006 13:06:37 -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 25692-09 for ; Sun, 4 Jun 2006 13:06:23 -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 604029F9316 for ; Sun, 4 Jun 2006 13:06:23 -0300 (ADT) Received: from 85.65.36.164.dynamic.barak-online.net ([85.65.36.164] helo=jonathanlaptop) by server.nextgap2000.com with esmtpa (Exim 4.52) id 1Fmv7H-0001nI-Qa; Sun, 04 Jun 2006 19:06:17 +0300 From: "Jonathan Blitz" To: "'Ludek Finstrle'" Cc: Subject: Re: Return code for bad command Date: Sun, 4 Jun 2006 19:06:42 +0200 Message-ID: <087c01c687f9$448e22d0$ddf71005@jonathanlaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 In-reply-to: <20060604160443.GA21059@soptik.pzkagis.cz> Thread-Index: AcaH8JIeg9Ri1H2kTaeSZ/k353KwMgACKTgA 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/8 X-Sequence-Number: 7756 Ok - I'll give it a try and see what I get. > -----Original Message----- > From: Ludek Finstrle [mailto:luf@pzkagis.cz] > Sent: Sunday, June 04, 2006 6:05 PM > To: Jonathan Blitz > Cc: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] Return code for bad command > > > 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 > > ... > > > Is this a bug or am I doing something wrong? > > It's normal behaviour. Let's try read sqlstate (I don't know how it is > accessed through VC++ ODBC classes. > > Regards, > > Luf > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 06/02/2006 > -- 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