pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <eetasoft@online.ee>
To: pgsql-odbc@postgresql.org
Subject: Re: 8.02.00.02 driver incompatibilities
Date: Mon, 12 Jun 2006 19:02:42 +0300
Message-ID: <e6k3dj$l97$1@news.hub.org> (raw)
References: <001301c68cca$318107e0$0406eb50@acer>
	<448CB652.8000300@tpf.co.jp>
	<20060612084416.GB19414@soptik.pzkagis.cz>

Ludek,

thank you.

> This is wrong behaviour of 08.01.0200. Your app have to call
> SQLMoreResults to get next result set. I suppose you are still
> using FoxPro. I see the google and FoxPro may know SQLMoreResults.

How to tell to  postgres, odbc or change my code so that I can call

drop_table('tempDOK')

without returning recordset. I don't need any result from this.


>> >and thus does not work with new driver. How to force new driver to be
>> >invoked by connection string DRIVER={PostgreSQL Unicode} ?
>
> You have to change Registry (rename):
> HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL
> ->
> HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL Unicode

It seems that I must change my application due to the multiple recordset 
problem.
So I think that I try to connect first to "PostgreSQL Unicode" driver and if 
this fails then to
"PostgreSQL" driver.

How to dedect connection to nonexistent driver ("PostgreSQL Unicode")
It seems that error and sql state code returned in this case are returned 
also in some other cases if driver is present.

Andrus. 





view thread (9+ messages)  latest in thread

Message-ID: <e6k3dj$l97$1@news.hub.org>
Permalink:  ../e6k3dj$l97$1@news.hub.org/
Also on:    postgresql.org/message-id/e6k3dj$l97$1@news.hub.org

 · 

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: eetasoft@online.ee
  Subject: Re: 8.02.00.02 driver incompatibilities
  In-Reply-To: <e6k3dj$l97$1@news.hub.org>
  References: <001301c68cca$318107e0$0406eb50@acer> <448CB652.8000300@tpf.co.jp> <20060612084416.GB19414@soptik.pzkagis.cz> <e6k3dj$l97$1@news.hub.org>

* 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