SQLDescribeParam returns -1(SQL_ERROR) with ServerSidePrepare=0

From: бородкин Максим <alximik328(at)yandex(dot)ru>
To: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: SQLDescribeParam returns -1(SQL_ERROR) with ServerSidePrepare=0
Date: 2023-09-19 08:32:11
Message-ID: 3256281695111595@mail.yandex.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

<div>Hi,</div><div>I have issue with psqlodbc:</div><div>When I'm preparing statement with psqlodbc interface I call SQLDescribeParam to know about types of params but with option ServerSidePrepare=0(turned off) its return code is -1(SQL_ERROR). I haven't found any mention about these things are linked so I'd like to know if this behaviour is correct and why.</div><div> </div><div>Of course, temporarily solution is to turn ServerSidePrepare on. If this option is turned on everything works and statements are prepared successfully.</div><div> </div><div>Regards,</div><div>Maksim Borodkin</div>

Attachment Content-Type Size
unknown_filename text/html 605 bytes

Browse pgsql-odbc by date

  From Date Subject
Next Message Priyadharsan Subbian 2023-09-20 11:29:07 Regarding compatiblity of PostgreSQL DB server(version 11.0) vs PSQLODBC Driver 13.02
Previous Message Hime Haieto 2023-09-18 03:13:44 handling of parametre types for prepared statements