From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Darcy Buskermolen <darcyb(at)commandprompt(dot)com>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, PgSQL General <pgsql-general(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Index greater than 8k |
Date: | 2006-11-01 05:01:23 |
Message-ID: | 12486.1162357283@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Do you mean you actually find stuff based on text attributes in JPEG
> images and the like? I thought those were compressed ...
Typically not --- the design assumption is that the text size wouldn't
amount to anything anyway compared to the image data, and it's better to
be able to pull it out with minimal processing.
I do suggest though that an image containing auxiliary data like text
comments is a multi-part structure, and that dumping it into a single
uninterpreted database field is spectacularly bad schema design.
You should pull the text out into a separate column once when you store
the data, instead of trying to fix things up when you search.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Ritesh Nadhani | 2006-11-01 06:51:00 | Compiling/Installing as a non-admin user |
Previous Message | Joshua D. Drake | 2006-11-01 04:55:04 | Re: [HACKERS] Index greater than 8k |
From | Date | Subject | |
---|---|---|---|
Next Message | jungmin shin | 2006-11-01 05:03:17 | invoking Web service in user-defined function in a dynamic way. |
Previous Message | Joshua D. Drake | 2006-11-01 04:55:04 | Re: [HACKERS] Index greater than 8k |