Re: BLOB HOWTO??

From: Jan Wieck <janwieck(at)Yahoo(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: ohp(at)pyrenet(dot)fr, pgsql-hackers(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: BLOB HOWTO??
Date: 2001-01-29 18:10:37
Message-ID: 200101291810.NAA03883@jupiter.greatbridge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Bruce Momjian wrote:
> > Hi Bruce,
> >
> > Any idea when it's due for??
>
> When? Probably not until 7.2, which is a pain.

We cannot use TOAST as is for BLOB/CLOB storage with a binary
IO interface over fastpath.

The reason is that you cannot force a column to be moved off
anyway and that the toast reference contains the original
objects size. Thus, opening a BLOB for writing would require
the reference in the main tuple to get updated and maybe
moving off the data first.

My plans for 7.2 are to use the toast table for storage, but
to build new data types with support hooks in the toaster for
it.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2001-01-29 18:12:47 Re: [SQL] Re: BLOB HOWTO??
Previous Message Bruce Momjian 2001-01-29 17:52:04 Size of TODO.detail

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 2001-01-29 18:12:47 Re: [SQL] Re: BLOB HOWTO??
Previous Message Keith Perry 2001-01-29 17:55:24 Problem with Day of Week