Re: Return code for bad command

From: "Jonathan Blitz" <jb(at)anykey(dot)co(dot)il>
To: "'Ludek Finstrle'" <luf(at)pzkagis(dot)cz>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Return code for bad command
Date: 2006-06-04 17:06:42
Message-ID: 087c01c687f9$448e22d0$ddf71005@jonathanlaptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Ok - I'll give it a try and see what I get.

> -----Original Message-----
> From: Ludek Finstrle [mailto:luf(at)pzkagis(dot)cz]
> Sent: Sunday, June 04, 2006 6:05 PM
> To: Jonathan Blitz
> Cc: pgsql-odbc(at)postgresql(dot)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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Renato Gondim 2006-06-05 12:03:20 RES: Return code for bad command
Previous Message Ludek Finstrle 2006-06-04 16:04:43 Re: Return code for bad command