Re: RFD: ALTER COLUMN .. SET STORAGE COMPRESSED;

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dawid Kuroczko" <qnex42(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: RFD: ALTER COLUMN .. SET STORAGE COMPRESSED;
Date: 2008-06-10 15:25:45
Message-ID: 18010.1213111545@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Dawid Kuroczko" <qnex42(at)gmail(dot)com> writes:
> As we already have four types of ALTER COLUMN .. SET STORAGE
> { PLAIN | EXTERNAL | EXTENDED | MAIN } I would like to add
> "COMPRESSED" which would force column compression (if column is
> smaller than some minimun, I guess somwehwere between 16 and 32 bytes).

Please see previous discussions about per-column toasting parameters,
for instance
http://archives.postgresql.org/pgsql-hackers/2007-08/msg00082.php
http://archives.postgresql.org/pgsql-general/2007-08/msg01129.php

I think the general consensus was that we want more flexible access to
the compression knobs than just another STORAGE setting.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-06-10 15:27:57 Re: RFD: ALTER COLUMN .. SET STORAGE COMPRESSED;
Previous Message Tom Lane 2008-06-10 14:23:11 Re: libpq support for arrays and composites