pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan Blitz <jb@anykey.co.il>
To: 'Ludek Finstrle' <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: SQLCODE when using psqlODBC with libODBC++
Date: Fri, 19 May 2006 14:33:58 +0200
Message-ID: <00a001c67b40$81f26e30$ddf71005@jonathanlaptop> (raw)
In-Reply-To: <20060519112018.GC12232@soptik.pzkagis.cz>



> -----Original Message-----
> From: Ludek Finstrle [mailto:luf@pzkagis.cz]
> Sent: Friday, May 19, 2006 1:20 PM
> To: Jonathan Blitz
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] SQLCODE when using psqlODBC with libODBC++
> 
> Fri, May 19, 2006 at 12:23:59PM +0200, Jonathan Blitz napsal(a):
> > > You specify no psqlODBC version. Older versions have this bad
behaviour.
> > > So if I use my crystal ball I see there only upgrade advice.
> >
> > I am using version 0.2.4pre3. Dated Sept 2005.
> > I downloaded it from sourceforg.net
> >
> > Is there a newer version?
> 
> >From where? This list is for psqlodbc from pgfoundry.org. The latest
> version is 08.02.0002.
> Are we talking both about psqlodbc? Could you send the URL for sf.net
> project (I try to locate it with no success)?
> 
> Please try the newest psqlodbc from pgfoundry.org.
> 
> Regards,
> 
> Luf
> 

Oops.
I am totally confused. I thought u asked for the version of libODBC++.

I am now totally lost.
I am new to accessing PostgreSQL from C++.

I already had PostgreSQL installed with the ODBC driver since I use it for
another program (Poker Tracker).

I wanted to write a C++ program to access the same database so I used
libODBC++ to issue the commands from within C++.

I am probably doing something wrong.

When I look at the ODBC connection for the database I see that I have a
choice of 3 drivers:

PostgreSQL                        	- version 8.02.00.02
PostgreSQL ANSI	- version 8.01.02.00
PostgreSQL Unicode	- version 8.01.02.00

The first one is the one selected.

Jonathan

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.1/343 - Release Date: 05/18/2006
 




view thread (5+ messages)

Message-ID: <00a001c67b40$81f26e30$ddf71005@jonathanlaptop>
Permalink:  ../00a001c67b40$81f26e30$ddf71005@jonathanlaptop/
Also on:    postgresql.org/message-id/00a001c67b40$81f26e30$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, luf@pzkagis.cz
  Subject: Re: SQLCODE when using psqlODBC with libODBC++
  In-Reply-To: <00a001c67b40$81f26e30$ddf71005@jonathanlaptop>
  References: <20060519112018.GC12232@soptik.pzkagis.cz> <00a001c67b40$81f26e30$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