pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan Blitz <jb@anykey.co.il>
To: pgsql-odbc@postgresql.org
Subject: Problem with error messages in  VC++ 2005
Date: Thu, 19 Oct 2006 16:40:06 +0200
Message-ID: <001201c6f38c$7c375590$ddf71005@jonathanlaptop> (raw)

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

 

I have no problem accessing and getting data but I am having problems with
getting errors messages correctly.

 

Whenever there is an error and I invoke SQLGetDiagRec to get the error
message I get semi-garbled data.

The message is obviously there as it is about 80% right. However, there are
random characters sprinkled about in the message.

 

For example “Error: Table my_table does not exist”

Comes out as “Error:2 Table my  abl  do   ot  exis “

 

In the middle there are all sorts of weird characters.

 

I have tried changing and upgrading the ODBC driver but nothing seems to
help.

 

I am now using version 8.02.01.00 but to no avail.

 

Anyone had similar problems?

 

Jonathan Blitz


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.5/483 - Release Date: 10/18/2006
 

view thread (2+ messages)  latest in thread

Message-ID: <001201c6f38c$7c375590$ddf71005@jonathanlaptop>
Permalink:  ../001201c6f38c$7c375590$ddf71005@jonathanlaptop/
Also on:    postgresql.org/message-id/001201c6f38c$7c375590$ddf71005@jonathanlaptop

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: jb@anykey.co.il
  Subject: Re: Problem with error messages in  VC++ 2005
  In-Reply-To: <001201c6f38c$7c375590$ddf71005@jonathanlaptop>
  References: <001201c6f38c$7c375590$ddf71005@jonathanlaptop>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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