From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
Cc: | David Steele <david(at)pgmasters(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Ildus Kurbangaliev <i(dot)kurbangaliev(at)gmail(dot)com>, Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: [HACKERS] Custom compression methods |
Date: | 2021-04-08 20:07:53 |
Message-ID: | CA+TgmoY4976f-F-R5huxN_KbDMkMRdQjLTc_jnVERnTQPEu3cg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Apr 8, 2021 at 3:38 PM Justin Pryzby <pryzby(at)telsasoft(dot)com> wrote:
> It looks like this should not remove the word "data" ?
Oh, yes, right.
> The compression technique used for either in-line or out-of-line compressed
> -data is a fairly simple and very fast member
> -of the LZ family of compression techniques. See
> -<filename>src/common/pg_lzcompress.c</filename> for the details.
> +can be selected using the <literal>COMPRESSION</literal> option on a per-column
> +basis when creating a table. The default for columns with no explicit setting
> +is taken from the value of <xref linkend="guc-default-toast-compression" />.
>
> I thought this patch would need to update parts about borrowing 2 spare bits,
> but maybe that's the wrong header..before.
We're not borrowing any more bits from the places where we were
borrowing 2 bits before. We are borrowing 2 bits from places that
don't seem to be discussed in detail here, where no bits were borrowed
before.
--
Robert Haas
EDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2021-04-08 20:11:49 | Re: pgsql: autovacuum: handle analyze for partitioned tables |
Previous Message | Robert Haas | 2021-04-08 20:05:02 | Re: pg_amcheck contrib application |