pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ODBC changes
Date: Thu, 13 Sep 2001 02:13:45 +0900
Message-ID: <EKEJJICOHDIEMGPNIFIJGEOCFFAA.Inoue@tpf.co.jp> (raw)
In-Reply-To: <8568FC767B4AD311AC33006097BCD3D61A2E2D@woody.vale-housing.co.uk>

> -----Original Message-----
> From: Dave Page
> > -----Original Message-----
> > From: Hiroshi Inoue [mailto:Inoue@tpf.co.jp]
> > Sent: 12 September 2001 11:31
> > To: Dave Page
> > Cc: pgsql-odbc@postgresql.org
> > Subject: Re: [ODBC] ODBC changes
> >
> >
> > Dave Page wrote:
> > >
> > > Hiroshi,
> > >
> > > I've been playing with this new version a little and am seeing some
> > > differences with the error messages raised. It's difficult to tell
> > > exactly what's going on because my own code is somewhat 'in
> > limbo' at
> > > the moment, but with 07.01.0006, if I try to connect to a server
> > > that's not running I
> > > get:
> > >
> > > 2001-09-12 08:51:14 - Error in pgAdmin
> > II:frmConnect.cmdConnect_Click:
> > > -2147467259 - Could not connect to the server; Could not connect to
> > > remote socket.
> > >
> > > But with 07.01.0007 I get:
> > >
> > > 2001-09-12 08:54:46 - Error in pgAdmin
> > II:frmConnect.cmdConnect_Click:
> > > -2147467259 - Unspecified error
> > >
> > > The errors reported by pgAdmin II are as returned by ADO
> > from the ODBC
> > > driver. Any ideas?
> >
> > Hmm it seems to work if I remove ODBC3.0 functions from
> > psqlodbc_win32.def.
>
> Ahh, could it be that ADO is using SQLGetDiagRec instead of
> SQLError because
> it thinks it's ODBC3.0? If so, that would tie in with some of the other
> oddities I've seen with my code (which is calling SQLGetDiagRec directly).

OK I would change the driver to not export ODBC3.0 functions
together with a bug fix.
Anyway ODBC3.0 stuff is only for test.

regards,
Hiroshi Inoue




view thread (47+ messages)  latest in thread

Message-ID: <EKEJJICOHDIEMGPNIFIJGEOCFFAA.Inoue@tpf.co.jp>
Permalink:  ../EKEJJICOHDIEMGPNIFIJGEOCFFAA.Inoue@tpf.co.jp/
Also on:    postgresql.org/message-id/EKEJJICOHDIEMGPNIFIJGEOCFFAA.Inoue@tpf.co.jp

 · 

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: Inoue@tpf.co.jp, dpage@vale-housing.co.uk
  Subject: Re: ODBC changes
  In-Reply-To: <EKEJJICOHDIEMGPNIFIJGEOCFFAA.Inoue@tpf.co.jp>
  References: <8568FC767B4AD311AC33006097BCD3D61A2E2D@woody.vale-housing.co.uk> <EKEJJICOHDIEMGPNIFIJGEOCFFAA.Inoue@tpf.co.jp>

* 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