Re: Bug? {? = CALL insert_page_segment (?, ?)}

From: "Inoue, Hiroshi" <inoue(at)tpf(dot)co(dot)jp>
To: Nils Gösche <cartan(at)cartan(dot)de>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Bug? {? = CALL insert_page_segment (?, ?)}
Date: 2014-11-12 13:56:48
Message-ID: 54636720.8020909@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 2014/11/12 21:51, Nils Gösche wrote:
> Hiroshi wrote:
>
>> On 2014/11/12 2:08, Nils Gösche wrote:
>>> Hi!
>>>
>>> I have a problem with newer versions of the ODBC driver. I made a
>>> small testing example to reproduce the problem:
>>>
>>> The following code works fine with version 09.02.0100 of the driver.
>>> With 09.03.0210, it crashes. With 09.03.0400, I get a strange
>>> exception and error message.
>>
>> Please try to add ;parse=1 to your connection string or turn on the
>> *Parse statements* option of your DSN.
>
> This setting does not seem to make any difference.

Oops please try to add ;UseServerSidePrepare=0 instead.

regards,
Hiroshi Inoue

> Now I notice that the InvalidOperationException I am getting has an inner OdbcException, with the message:
>
> "ERROR [08S01] No response from the backend"
>
> On the server side, I still get:
>
> 2014-11-12 13:44:44 CET ERROR: function insert_page_segment(unknown) does not exist at character 8
> 2014-11-12 13:44:44 CET HINT: No function matches the given name and argument types. You might need to add explicit type casts.
> 2014-11-12 13:44:44 CET STATEMENT: SELECT insert_page_segment ($1, $2)
> 2014-11-12 13:44:44 CET FATAL: invalid frontend message type 0
>
> Regards,
>

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Nils Gösche 2014-11-12 14:06:07 Re: Bug? {? = CALL insert_page_segment (?, ?)}
Previous Message Nils Gösche 2014-11-12 13:47:54 Re: Bug? {? = CALL insert_page_segment (?, ?)}