Re: TOAST docs

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Hannu Krosing <hannu(at)tm(dot)ee>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Alvaro Herrera <alvherre(at)atentus(dot)com>, PgSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: TOAST docs
Date: 2002-09-13 17:52:05
Message-ID: 3D8225C5.FEFF2DB0@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joe Conway wrote:
>
> Hannu Krosing wrote:
> > IIRC there were some ways to tweak when TOAST gets used, when it goes
> > out to toastfile and when it uses compressed/non-compressed storage.
> >
> > I hope this is documented someplace, no ?
>
> There is a mention of it in the ALTER TABLE doc:
>
> ALTER TABLE [ ONLY ] table [ * ]
> ALTER [ COLUMN ] column SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN }
>
> SET STORAGE
>
> This form ...

We have that already? Seems my memory doesn't serve as good as it
used to ... I'm getting old, folks. Thanks to whoever did it.

Now the other magic thingy is, that on CREATE TABLE the column
storage is taken from the pg_type entry. Someone could manipulate
that and default all text columns to external for example.

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 #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Vaartjes 2002-09-13 18:47:03 Secure DB design ?
Previous Message Laurette Cisneros 2002-09-13 17:34:04 droplang doesn't completely work?