Re: [HACKERS] text should be a blob field - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] text should be a blob field
Date
Msg-id 34FC33A3.9E5F371F@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] text should be a blob field  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> Or simply call text-BLOBs "textblob" of something like that.
> What does SQL-92 say about BLOBs anyway?

Nothing afaik. That is why you get different meanings and usages between database
products. I'd like to keep "text" as a useful string type. Conventionally, generic
blobs are just binary objects with not much backend support (e.g. no useful
operators other than perhaps "=").

Imo generic blobs make more sense in a system without the capability to add types;
perhaps a solution for Postgres would look a little different. At the moment, the
frontend/backend protocol is different for large objects and everything else, so
it would be difficult to transparently introduce blobs which behave identically to
types which fit within a normal tuple.

                                                            - Tom


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] doc troubles.
Next
From: Cristian Gafton
Date:
Subject: Re: [HACKERS] PostgreSQL - the Linux of Databases...