Re: Status of server side Large Object support?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: David Garamond <lists(at)zara(dot)6(dot)isreserved(dot)com>, Joe Conway <mail(at)joeconway(dot)com>, Thomas Hallgren <thhal(at)mailblocks(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, bryan(at)bulten(dot)ca
Subject: Re: Status of server side Large Object support?
Date: 2004-12-13 03:07:09
Message-ID: 200412130307.iBD379w04484@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hannu Krosing wrote:
> On E, 2004-11-29 at 02:22, David Garamond wrote:
> > Joe Conway wrote:
> > > Not if the column is storage type EXTERNAL. See a past discussion here:
> > > http://archives.postgresql.org/pgsql-general/2003-07/msg01447.php
> >
> > what is the reasoning behind this syntax?
> >
> > ALTER TABLE [ ONLY ] table [ * ]
> > ALTER [ COLUMN ] column SET STORAGE
> > { PLAIN | EXTERNAL | EXTENDED | MAIN }
> >
> > I find it nonintuitive and hard to remember. Perhaps something like this
> > is better (I know, it's probably too late):
> >
> > ALTER [ COLUMN ] column SET STORAGE { INLINE | EXTERNAL }
> > ALTER [ COLUMN ] column SET COMPRESSION { YES | NO }
>
> It wold also be beneficial if the threshold size of moving the column to
> TOAST (either COMPRESS or EXTERNAL) could be set on a per-column basis
>
> This is a design decision on the same lavel as the others

The threshhold is currently per-row, with longer rows being toasted
first. I can't see having a per-column specification being a big win.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Kirkwood 2004-12-13 04:39:21 Re: [Testperf-general] BufferSync and bgwriter
Previous Message Neil Conway 2004-12-13 02:43:33 Re: [Testperf-general] BufferSync and bgwriter