Skip site navigation (1) Skip section navigation (2)

Crash calling a function via ODBC

From: Valerio Ferrucci <valfer(at)flashnet(dot)it>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Crash calling a function via ODBC
Date: 2002-11-12 12:14:29
Message-ID: 4B2367E6-F638-11D6-8D06-00039377EF16@flashnet.it (view raw or flat)
Thread:
Lists: 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

==================================================================
Valerio Ferrucci                        Tabasoft Sas
ferrucci(at)tabasoft(dot)it                    http://www.tabasoft.it

pgsql-odbc by date

Next:From: Jason TishlerDate: 2002-11-12 12:15:22
Subject: Re: [ODBC] ODBC Unix distro building woes
Previous:From: Hiroshi InoueDate: 2002-11-12 10:47:29
Subject: Re: [ODBC] ODBC Unix distro building woes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group