pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
RES: Return code for bad command
2+ messages / 2 participants
[nested] [flat]

* RES: Return code for bad command
@ 2006-06-05 12:03  Renato Gondim <Renato.Gondim@SoftwareExpress.com.br>
  0 siblings, 1 reply; 2+ messages in thread

From: Renato Gondim @ 2006-06-05 12:03 UTC (permalink / raw)
  To: pgsql-odbc

I'm having the same behavior and the sqlstate returns the same code: HY000.
Reading the MSDN this code is described as "General error".

Renato Gondim.

-----Mensagem original-----
De: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org]
Em nome de Ludek Finstrle
Enviada em: domingo, 4 de junho de 2006 13:05
Para: Jonathan Blitz
Cc: pgsql-odbc@postgresql.org
Assunto: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: RES: Return code for bad command
@ 2006-06-05 12:16  Ludek Finstrle <luf@pzkagis.cz>
  parent: Renato Gondim <Renato.Gondim@SoftwareExpress.com.br>
  0 siblings, 0 replies; 2+ messages in thread

From: Ludek Finstrle @ 2006-06-05 12:16 UTC (permalink / raw)
  To: Renato Gondim <Renato.Gondim@SoftwareExpress.com.br>; +Cc: pgsql-odbc

> I'm having the same behavior and the sqlstate returns the same code: HY000.
> Reading the MSDN this code is described as "General error".

Does psqlodbc 08.01.0200 return the same?
Please could you send mylog outputs from two different errors?

Regards,

Luf



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-06-05 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-06-05 12:03 RES: Return code for bad command Renato Gondim <Renato.Gondim@SoftwareExpress.com.br>
2006-06-05 12:16 ` Ludek Finstrle <luf@pzkagis.cz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox