X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 11FD59FA5E1 for ; Mon, 12 Jun 2006 13:06:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 69624-08 for ; Mon, 12 Jun 2006 13:06:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id B85899FA3CD for ; Mon, 12 Jun 2006 13:06:24 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 15A403093D; Mon, 12 Jun 2006 18:06:22 +0200 (MET DST) From: "Andrus" X-Newsgroups: pgsql.interfaces.odbc Subject: Re: 8.02.00.02 driver incompatibilities Date: Mon, 12 Jun 2006 19:02:42 +0300 Organization: Hub.Org Networking Services Lines: 36 Message-ID: References: <001301c68cca$318107e0$0406eb50@acer> <448CB652.8000300@tpf.co.jp> <20060612084416.GB19414@soptik.pzkagis.cz> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original To: pgsql-odbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/69 X-Sequence-Number: 7817 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.