Обсуждение: SQLDescribeCol before SQLExcecute call problem (fwd)

Поиск
Список
Период
Сортировка

SQLDescribeCol before SQLExcecute call problem (fwd)

От
Karol Szkudlarek
Дата:
Hi!

My friend have problem with latest snapshot of psql-odbc driver.
He doesn't subsribe to the mailing list, so I forwarded his mail.
Please help him... :-)

-------- Original Message --------
Subject: [Fwd: SQLDescribeCol before SQLExcecute call problerm]
Date: Mon, 20 Sep 2004 09:50:29 +0200 (CEST)
From: mik@mikronika.com.pl
To: karol@mikronika.com.pl

-------------------------- Wiadomość oryginalna --------------------------
Temat: SQLDescribeCol before SQLExcecute call problerm
Od:    mik@mikronika.com.pl
Data:  Pt Września 17 2004, 11:32
Do:    pgsql-odbc@postgresql.org
--------------------------------------------------------------------------


Hi!

I have problem with the latest odbc postgres driver. In previous version
of the driver I can call SQLDescribeCol and SQLExecute in any
order. Now if I call SQLDescribeCol before SQLExecute I got error:

HY010 (Function sequence error). ODBC SDK documentation allows calling in
that order. Is it the feature or bug?

I have many lines of code depend on library (OTL) which using that sort of
calling convention. And now that will be very difficult to change it.

Problem concerns both the latest snapshot and cvs-tree on Windows and Linux.

Regards,

Michał Konopiński


Re: SQLDescribeCol before SQLExcecute call problem (fwd)

От
Karol Szkudlarek
Дата:
Karol Szkudlarek wrote:
>
> Hi!
>
> My friend have problem with latest snapshot of psql-odbc driver.
> He doesn't subsribe to the mailing list, so I forwarded his mail.
> Please help him... :-)
>
> -------- Original Message --------
> Subject: [Fwd: SQLDescribeCol before SQLExcecute call problerm]
> Date: Mon, 20 Sep 2004 09:50:29 +0200 (CEST)
> From: mik@mikronika.com.pl
> To: karol@mikronika.com.pl
>
> -------------------------- Wiadomość oryginalna --------------------------
> Temat: SQLDescribeCol before SQLExcecute call problerm
> Od:    mik@mikronika.com.pl
> Data:  Pt Września 17 2004, 11:32
> Do:    pgsql-odbc@postgresql.org
> --------------------------------------------------------------------------
>
>
> Hi!
>
> I have problem with the latest odbc postgres driver. In previous version
> of the driver I can call SQLDescribeCol and SQLExecute in any
> order. Now if I call SQLDescribeCol before SQLExecute I got error:
>
> HY010 (Function sequence error). ODBC SDK documentation allows calling in
> that order. Is it the feature or bug?
>
> I have many lines of code depend on library (OTL) which using that sort of
> calling convention. And now that will be very difficult to change it.
>
> Problem concerns both the latest snapshot and cvs-tree on Windows and
> Linux.
>
> Regards,
>
> Michał Konopiński
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo@postgresql.org so that your
>      message can get through to the mailing list cleanly

H!

Has anybody with psql-odbc developers could look at this problem?

Any help appreciated.

Karol