Re: Querying a BYTEA datatype

From: "Shoaib Mir" <shoaibmir(at)gmail(dot)com>
To: "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Querying a BYTEA datatype
Date: 2006-04-15 05:54:09
Message-ID: bf54be870604142254n3a5c42cehc8204b67f3cc67d5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks Merlin

On 4/15/06, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
>
> On 4/14/06, Shoaib Mir <shoaibmir(at)gmail(dot)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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-04-15 07:49:57 Re: 21 bit number for sequence
Previous Message Shoaib Mir 2006-04-15 05:24:59 21 bit number for sequence