Re: [ODBC] HY0000 on SQLDescribeParam - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: [ODBC] HY0000 on SQLDescribeParam
Date
Msg-id e154a28a-81c7-0e2c-cd75-39c24ac20931@dream.email.ne.jp
Whole thread Raw
In response to Re: [ODBC] HY0000 on SQLDescribeParam  (Igor Korot <ikorot01@gmail.com>)
Responses Re: [ODBC] HY0000 on SQLDescribeParam  (Igor Korot <ikorot01@gmail.com>)
List pgsql-odbc
Hi Igor,

On 2017/07/30 22:11, Igor Korot wrote:
> Hi, Hiroshi,
>
> On Sun, Jul 30, 2017 at 8:06 AM, Inoue, Hiroshi
> <h-inoue@dream.email.ne.jp> wrote:
>> Hi Igor,
>>
>>
>> On 2017/07/30 14:01, Igor Korot wrote:
>>> Hi, ALL,
>>> I'm getting an error calling SQLDescribeParam() on PostgreSQL 9.4.
>>>
>>> The message obtained by SQLGetDiagRec() reads:
>>>
>>> [quote]
>>> Unfortunately couldn't get this parameter info.
>>> [/quote]
>>>
>>> I'm on OSX 10.8 using iODBC DM.
>>> The PostgreSQL ODBC driver is not the current one (at least I don't think
>>> so).
>>>
>>> This same call succeeded with MS SQL Server.
>>>
>>> Does anybody have an idea of how to work around this?
>>
>> Could try to turn on the UseServerSidePrepare option?
>> i.e set
>>   UseServerSidePrepare = 1
>> to your odbc.ini file.
> Yes, that worked.
> No more errors.
>
> Thank you.
>
> Now, shouldn't it be the default when install sinceing the driver?

The default for UseServerSidePrepare was changed to 1 in version 09.03.0100.

regards,
Hiroshi Inoue

> Or this option should come from the DM?
>
>> regards,
>> Hiroshi Inoue


pgsql-odbc by date:

Previous
From: Igor Korot
Date:
Subject: Re: [ODBC] HY0000 on SQLDescribeParam
Next
From: Igor Korot
Date:
Subject: Re: [ODBC] HY0000 on SQLDescribeParam