pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: wieck@debis.com
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Jan Wieck <wieck@debis.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: TOAST (was: BLOB)
Date: Sat, 22 Apr 2000 10:52:03 +0200 (CEST)
Message-ID: <m12ivdz-0003knC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <23685.956357662@sss.pgh.pa.us>

Tom Lane wrote:

> I'd like to think that we can fold the TOAST support into the
> argument-access macros that I plan to be defining for the fmgr rewrite.
> See previous rants on this subject, eg 14-Jun-99, 23-Oct-99 (in
> pgsql-hackers archives).

    So  we need to fold the VARATT_... macro's I'm using now into
    the FMGR_... macros. Or define the macro's you want now.

> 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.


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) #





view thread (13+ messages)  latest in thread

Message-ID: <m12ivdz-0003knC@orion.SAPserv.Hamburg.dsh.de>
Permalink:  ../m12ivdz-0003knC@orion.SAPserv.Hamburg.dsh.de/
Also on:    postgresql.org/message-id/m12ivdz-0003knC@orion.SAPserv.Hamburg.dsh.de

 · 

reply

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: <m12ivdz-0003knC@orion.SAPserv.Hamburg.dsh.de>
  References: <23685.956357662@sss.pgh.pa.us> <m12ivdz-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