Re: BLOB & Searching - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: BLOB & Searching
Date
Msg-id 448F6CE3.6040302@commandprompt.com
Whole thread Raw
In response to Re: BLOB & Searching  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-general
Jim C. Nasby wrote:
> On Mon, Jun 12, 2006 at 02:44:34PM -0700, jdwatson1@gmail.com wrote:
>> 1. How can I store the word doc's in the DB, would it be best to use a
>> BLOB data type?
>
> Use a bytea field.
>
>> 2. Does Postgres support full text searching of a word document once it
>
> Nope.

Not natively. It would however be possible to use one of the .doc libs
out there to read the binary document and run it through a parser and
feed that to Tsearch2.

Sincerely,

Joshua D. Drake



--

             === The PostgreSQL Company: Command Prompt, Inc. ===
       Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
       Providing the most comprehensive  PostgreSQL solutions since 1997
                      http://www.commandprompt.com/



pgsql-general by date:

Previous
From: Trent Shipley
Date:
Subject: Re: postgres vs. oracle for very large tables
Next
From: "Joshua D. Drake"
Date:
Subject: Re: postgres vs. oracle for very large tables