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

Re: pgsqODBC binding parameters II (fwd)

From: Ludek Finstrle <xfinstrl(at)informatics(dot)muni(dot)cz>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: pgsqODBC binding parameters II (fwd)
Date: 2001-03-21 10:38:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
> >   please, could some expert answer?
> Though I'm not an expert, I have a question.
> [snip]
> > > CONN ERROR: func=SQLExecute, desc='', errnum=110, errmsg='ERROR:  parser: parse error at or near ""'
> > > SQLExecute: premature statement so return SQL_ERROR
> PREMATURE state of the statement seems to be the cause of
> the error. Is your change about data_at_exec to prevent the
> PREMATURE state just after the return from SQLNumResultCols ?
> Or does it have another purpose ?

Sorry, I don't understand question very well.
I make it in december. So I don't remember details.

The problem was that '?' didn't be detect as parametr at exec.
So I added detection of parameters at exec to SQLExecute. And if I detect
it I return SQL_NEED_DATA.

Do you want logs with successfull execute?


In response to


pgsql-odbc by date

Next:From: Dave PageDate: 2001-03-21 11:27:21
Subject: RE: MULTIBYTE support
Previous:From: Hiroshi InoueDate: 2001-03-21 09:44:46
Subject: Re: MULTIBYTE support

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