Re: Search content within a bytea field

Поиск
Список
Период
Сортировка
Искать
От
Florian Weimer
Тема
Re: Search content within a bytea field
Дата
Msg-id
82iqg0w2mo.fsf@mid.bfk.de
Ответ на
Список
Дерево обсуждения
Search content within a bytea field Damiano Bolzoni <damiano.bolzoni@gmail.com>
Re: Search content within a bytea field Sylvain Leroux <sl20@wanadoo.fr>
Re: Search content within a bytea field Tom Lane <tgl@sss.pgh.pa.us>
Re: Search content within a bytea field Sylvain Leroux <sl20@wanadoo.fr>
Re: Search content within a bytea field Damiano Bolzoni <damiano.bolzoni@gmail.com>
Re: Search content within a bytea field Damiano Bolzoni <damiano.bolzoni@gmail.com>
Re: Search content within a bytea field Tom Lane <tgl@sss.pgh.pa.us>
Re: Search content within a bytea field Florian Weimer <fweimer@bfk.de>
Re: Search content within a bytea field Kris Jurka <books@ejurka.com>
Re: Search content within a bytea field Florian Weimer <fweimer@bfk.de>
Re: Search content within a bytea field Kris Jurka <books@ejurka.com>
Re: Search content within a bytea field Thomas Kellerer <spam_eater@gmx.net>
Re: Search content within a bytea field dmp <danap@ttc-cmc.net>
* Tom Lane:

> The JDBC environment behaves differently because setString and so on
> do not produce unmarked literals --- there's an implicit cast to
> some datatype.  So you have to make sure you've picked a
> parameter-setting function that is reasonably compatible with the
> intended operation.

You can append "?stringtype=unspecified" to the JDBC URL, and you get
bevahior which matches more closely what other (non-Java) interfaces
do.

> This is a good thing, really; it tends to keep the system from
> choosing an unexpected operation.

It more or less prevents use of fancy types.  There doesn't seem to be
to set an unspecified type on a per-parameter basis, unfortunately.

-- 
Florian Weimer                
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99
В списке pgsql-jdbc по дате отправления
От: JUNG, Christian
Дата:
От: Kris Jurka
Дата:
FAQ