Re: BUG #3951: SELECT ... WHERE Param = ? does not work if Param is of type bytea

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3951: SELECT ... WHERE Param = ? does not work if Param is of type bytea
Дата
Msg-id 13415.1203618602@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3951: SELECT ... WHERE Param = ? does not work if Param is of type bytea  (Vincent D'Haene <vincent_dhaene@hotmail.com>)
Ответы Re: BUG #3951: SELECT ... WHERE Param = ? does not work if Param is of type bytea  (Vincent D'Haene <vincent_dhaene@hotmail.com>)
Список pgsql-bugs
"Vincent D'Haene" <vincent_dhaene@hotmail.com> writes:
> My problem is that it seems that in postgresql you can't use a parameter bound to BYTEA data in the WHERE clause of
theSQL statement. 

The above claim is nonsense.

> So in my case: "SELECT x FROM T WHERE BinData = ?" does not work (return code -1) if the parameter bound to the ? is
oftype BYTEA. 

I'm guessing that you've got an ODBC problem.  That could be a bug in
your code, or less likely a bug in the ODBC driver you're using.
Since you haven't specified which driver or which version of the driver
you're using, nor provided a test case to run, it's difficult for anyone
else to investigate it.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Initdb error without much more details PostgreSQL 7.4.19
Следующее
От: Laurent Barbier
Дата:
Сообщение: Re: Initdb error without much more details PostgreSQL 7.4.19