Re: create table like including storage parameter - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: create table like including storage parameter
Date
Msg-id 0d2d7026-a34f-44bf-b22d-ae9be5e48575@app.fastmail.com
Whole thread Raw
In response to Re: create table like including storage parameter  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
On Wed, Dec 17, 2025, at 3:41 AM, jian he wrote:
> Does the "parameter" (INCLUDING PARAMETERS) definition is close to "option"?
> This raises the question of whether we should also copy column-level options to
> the new table.
>

I don't think so. The current attribute options (n_distinct and
n_distinct_inherited) are closely tied to the data. I'm afraid that this
decision would impose bad plans in the future.


-- 
Euler Taveira
EDB   https://www.enterprisedb.com/



pgsql-hackers by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: Improve logical replication usability when tables lack primary keys
Next
From: Melanie Plageman
Date:
Subject: Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)