Crash calling a function via ODBC

Поиск
Список
Период
Сортировка
От Valerio Ferrucci
Тема Crash calling a function via ODBC
Дата
Msg-id 4B2367E6-F638-11D6-8D06-00039377EF16@flashnet.it
обсуждение исходный текст
Список pgsql-odbc
Finally I could succesfully call a postgres function via odbc using
the syntax:


{? = CALL myFunc(?, ?)}


My func uses SQLBindParameter and SQLExecDirect

All works ok and I succesfully get input and output parameters, great!


BUT

If I remove the {} around from the sql string the driver crashes (in
SQLExecDirect) !!

I'm using:

/usr/local/pgsql/lib/libpsqlodbc.so.0.27

on

Darwin TabasoftValerioG4.local. 6.1 Darwin Kernel Version 6.1: Fri Sep
6 23:24:34 PDT 2002; root:xnu/xnu-344.2.obj~2/RELEASE_PPC  Power
Macintosh powerpc


by


<fontfamily><param>Geneva</param>==================================================================

Valerio Ferrucci                        Tabasoft Sas

ferrucci@tabasoft.it                    http://www.tabasoft.it

</fontfamily>
Finally I could succesfully call a postgres function via odbc using the
syntax:

{? = CALL myFunc(?, ?)}

My func uses SQLBindParameter and SQLExecDirect
All works ok and I succesfully get input and output parameters, great!

BUT
If I remove the {} around from the sql string the driver crashes (in
SQLExecDirect) !!
I'm using:
/usr/local/pgsql/lib/libpsqlodbc.so.0.27
on
Darwin TabasoftValerioG4.local. 6.1 Darwin Kernel Version 6.1: Fri Sep
6 23:24:34 PDT 2002; root:xnu/xnu-344.2.obj~2/RELEASE_PPC  Power
Macintosh powerpc

by

==================================================================
Valerio Ferrucci                        Tabasoft Sas
ferrucci@tabasoft.it                    http://www.tabasoft.it

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: ODBC Unix distro building woes
Следующее
От: Benjamin Scherrey
Дата:
Сообщение: Fields being renamed in internal select statements...