From: wieck@debis.com
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jan Wieck <wieck@debis.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: TOAST (was: BLOB)
Date: Sat, 22 Apr 2000 22:44:52 +0200 (CEST)
Message-ID: <m12j6lo-0003knC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <26925.956423556@sss.pgh.pa.us>
> wieck@debis.com (Jan Wieck) writes:
> >> Net result for user-defined-datatype authors will be "if you revise
> >> your routines, they will be easier to read, more portable, and will
> >> support TOASTed values. If you don't, they'll still work about as
> >> well (or poorly) as they did before."
>
> > Sorry, but that ain't true. Making an existing type toastable
> > means that all functions, receiving that type need to be
> > revised.
>
> What I meant was that they'd still work, with a limit on field size,
> just like before. ie, no TOAST support.
Yes, but at the first time, a toasted value is handed to them
the result (up to backend crash) is unpredictable. So any
user defined function taking "text" as argument is
potentially in danger!
Better tell them they have to revise.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#========================================= wieck@debis.com (Jan Wieck) #
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: wieck@debis.com, tgl@sss.pgh.pa.us, peter_e@gmx.net
Subject: Re: TOAST (was: BLOB)
In-Reply-To: <m12j6lo-0003knC@orion.SAPserv.Hamburg.dsh.de>
References: <26925.956423556@sss.pgh.pa.us> <m12j6lo-0003knC@orion.SAPserv.Hamburg.dsh.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox