Re: Querying a BYTEA datatype

Поиск
Список
Период
Сортировка
От Shoaib Mir
Тема Re: Querying a BYTEA datatype
Дата
Msg-id bf54be870604142254n3a5c42cehc8204b67f3cc67d5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Querying a BYTEA datatype  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-general
Thanks Merlin

On 4/15/06, Merlin Moncure <mmoncure@gmail.com> wrote:
On 4/14/06, Shoaib Mir <shoaibmir@gmail.com> wrote:
> Hi All,
>
> Need an urgent help on the following:
>
> How can  in PostgreSQL we handle quries on the content of bytea data type?
>
> Like if we want to do some search on the basis of bytea content, is there a
> way?
>

you have two options that i know of:
1. convert to text and do text processing
2. make a c function that processes binary and link it to the server.
this will probably give you the best performance

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

Предыдущее
От: "Shoaib Mir"
Дата:
Сообщение: 21 bit number for sequence
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: 21 bit number for sequence