Re: operator does not exist: text = bytea

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: operator does not exist: text = bytea
Дата
Msg-id 1695443.1658325552@sss.pgh.pa.us
обсуждение исходный текст
Ответ на operator does not exist: text = bytea  (Karthik K L V <venkata.karthik4u@gmail.com>)
Список pgsql-general
Karthik K L V <venkata.karthik4u@gmail.com> writes:
> We have a query with bind value which sometimes gets resolved to null (no
> data) depending on the application scenario.
> The datatype of the bindvalue and the corresponding column is String.
> The same query executes fine when the value of the bindvalue is populated.
> Could you please let me know how I can resolve this issue without making
> changes to the query?

This seems like it depends on the details of how the JDBC driver sends
the bound parameter to the server, so you'd be better off asking in
the pgsql-jdbc mailing list (and supplying some code details).

It's entirely possible that there isn't any solution other than fixing
your app to be more consistent about how it binds the parameter.

            regards, tom lane



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

Предыдущее
От: Ron
Дата:
Сообщение: Re: postgis
Следующее
От: Marc Millas
Дата:
Сообщение: Re: postgis