Re: BLOB & Searching

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: jdwatson1(at)gmail(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: BLOB & Searching
Date: 2006-06-14 01:56:51
Message-ID: 448F6CE3.6040302@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jim C. Nasby wrote:
> On Mon, Jun 12, 2006 at 02:44:34PM -0700, jdwatson1(at)gmail(dot)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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Samad, Alex 2006-06-14 02:01:45 postgres and ldap
Previous Message Trent Shipley 2006-06-14 00:37:13 Re: postgres vs. oracle for very large tables