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

Re: Problem with libpsqlodbc

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: gilles(at)darold(dot)net
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Problem with libpsqlodbc
Date: 2001-08-28 23:47:02
Message-ID: 3B8C2D76.58DA82B4@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-odbc
Gilles DAROLD wrote:
> 
> Hi all,
> 
> I have sent some patches to the OpenLDAP dev team to have it work with
> PostgreSQL and they should be applied asap, I also write a HOWTO.
> This works but with a not usefull or silly workaround.
> 
> If we want to have PG fully compatible with OpenLDAP we need to resolve
> a problem regarding the libpsqlodbc library.
> 

Did you build libpsqlidbc library on some unix platform ?

> In OpenLDAP they call the function SQLBindParameter as follow:
> 
> SQLBindParameter(sth,1,SQL_PARAM_OUTPUT,SQL_C_ULONG,SQL_INTEGER,0,0,&new_keyval,0,0);
> 
> And then the statement is executed with SQLExecDirect as follow:
> 
> rc=SQLExecDirect(sth,oc->create_proc,SQL_NTS);
> 

Are you executing a procedure using an escape sequence 
  {[?=]call procedure-name[([parameter][,[parameter]]...)]}
?

regards,
Hiroshi Inoue

In response to

Responses

pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2001-08-29 09:10:34
Subject: Re: Error messages not always reported through the ODBCdriver -STATEMENT ERROR missing
Previous:From: Gilles DAROLDDate: 2001-08-28 17:07:43
Subject: Problem with libpsqlodbc

pgsql-general by date

Next:From: Killian MayDate: 2001-08-29 01:45:33
Subject: pg_dump cache lookup error
Previous:From: GB Clark IIDate: 2001-08-28 19:58:33
Subject: Getting data out of database with a bad WAL file

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