Re: Re: Boolean and Bit - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Re: Boolean and Bit
Date
Msg-id 3A65CA05.39C04CEE@agliodbs.com
Whole thread Raw
In response to Re: Boolean and Bit  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-sql
Josh Berkus wrote:

> Well, yes.  This is beacause BLOBs are NOT part of the SQL
> standard and IMHO a bad idea relationally; thus their
> implementation is entirely proprietary to the RDBMS.  The
> solution is not to use BLOBs.

Ooops.  Let me re-state:  This is because the *implementation* of BLOBS
is not defined in the SQL standard, and BLOBs are IMHO a bad idea for
relational database design, as they violate Codd's Rules.  Thus the
implementation of, anf functions and operators for BLOBs are entirely
proprietary to the RDBMS platform.

The solution to this is not to use BLOBs, but rather to use file system
handles for the location of the binary data on the server.  This way,
all you need is DOS-to-UNIX and UNIX-to-DOS translation for the
filesystem handles, something easily accomplished through
string-manipulation functions or stored procedures.
                -Josh Berkus

-- 
______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete
informationtechnology      josh@agliodbs.com   and data management solutions       (415) 436-9166  for law firms, small
businesses      fax  436-0137   and non-profit organizations.       pager 338-4078                               San
Francisco


pgsql-sql by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [INTERFACES] outer join in PostgreSql
Next
From: Josh Berkus
Date:
Subject: Re: Yet one more question