Re: Small issues with CREATE TABLE COMPRESSION - Mailing list pgsql-hackers

From Dilip Kumar
Subject Re: Small issues with CREATE TABLE COMPRESSION
Date
Msg-id CAFiTN-sQ5XpB5dVn2-FMBG+20f7HYky9kgCy8rVAT_cP3mkvEg@mail.gmail.com
Whole thread Raw
In response to Re: Small issues with CREATE TABLE COMPRESSION  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Small issues with CREATE TABLE COMPRESSION
List pgsql-hackers
On Wed, May 5, 2021 at 12:06 AM Robert Haas <robertmhaas@gmail.com> wrote:
>

> > There are no tests in pg_dump to make sure that some ALTER
> > MATERIALIZED VIEW or ALTER TABLE commands are generated when the
> > compression of a matview's or table's column is changed.
>
> True, but it does seem to work. I am happy if you or anyone want to
> write some tests.

I think it will be really hard to generate such a test in pg_dump,
because default we are compiling --without-lz4, which means we have
only one compression option available, and if there is only one option
available then the column compression method and the default
compression method will be same so the dump will not generate an extra
command of type ALTER TABLE... SET COMPRESSION.

-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: AlterSubscription_refresh "wrconn" wrong variable?
Next
From: Dilip Kumar
Date:
Subject: Re: .ready and .done files considered harmful