Skip site navigation (1) Skip section navigation (2)

Re: More strict bind param count checking

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Ludek Finstrle <luf(at)pzkagis(dot)cz>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: More strict bind param count checking
Date: 2005-12-15 05:39:04
Message-ID: 43A10178.5070107@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-odbc
Ludek Finstrle wrote:
>>Hi Ludek, thanks to your recent effort to improve the psqlodbc driver.
>>Please let me comment on your patch a little.
> 
> 
> Hello,
> 
>   your comments are welcome.
> 
> 
>>>! 		if (ipdopts->allocated == marker_count)
>>
>>Why are you using the operator '==' not '>=' ?
>>AFAIK there's no such limitation.
> 
> 
> We have problems with Visual FoxPro. It calls SQLCancel without
> FreeStmt(SQL_RESET_PARAMS). It leads to failure becouse next
> ExecDirect with fewer parameters in some cases think that it
> has data_at_exec (which was parameters from previous).

Isn't it the right solution for the problem to check data_at_exec appropriately ?

regards, Hiroshi Inoue

In response to

Responses

pgsql-odbc by date

Next:From: Dave PageDate: 2005-12-15 08:53:47
Subject: Re: Does postgresql-odbc work on 64-bit platforms?
Previous:From: Anoop KumarDate: 2005-12-15 05:28:42
Subject: Re: Next development steps?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group