Re: Search content within a bytea field

Поиск
Список
Период
Сортировка
От Damiano Bolzoni
Тема Re: Search content within a bytea field
Дата
Msg-id 6fb522db0908302308k2775370ct55547ecdf5a732a9@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Search content within a bytea field  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
> But this does point out the problem: LIKE (a/k/a ~~) on a bytea wants
> a bytea on the righthand side, not text or varchar.  So setString is
> the wrong thing to use.

Perhaps something like:

setBytes(myString.getBytes())

?

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

Предыдущее
От: Sylvain Leroux
Дата:
Сообщение: Re: Search content within a bytea field
Следующее
От: Damiano Bolzoni
Дата:
Сообщение: Re: Search content within a bytea field