public inbox for [email protected]  
help / color / mirror / Atom feed
From: Euler Taveira <[email protected]>
To: jian he <[email protected]>
Cc: Nathan Bossart <[email protected]>
Cc: David G. Johnston <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: create table like including storage parameter
Date: Thu, 18 Dec 2025 11:59:39 -0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <CACJufxF=k+4Lcx=XTcZUfTAUOgq66sDXO=s_vkEFPt7s2LxaCA@mail.gmail.com>
References: <CACJufxHr=nKEsS66M7rTHgB+mXdQ948=_eJ1jztAc7PT-eJefA@mail.gmail.com>
	<CAKFQuwbFTgLv4t7f63Xsco2r_8qjW9bdpi5vg1nq0D-o=X_6GQ@mail.gmail.com>
	<aPu77xiPRJaIlc49@nathan>
	<CACJufxFoU12ysn3YFr+vL30-s25iESmGyy=bN3WhhkB=pK1NSg@mail.gmail.com>
	<CACJufxHXYv1b7BnNy=nx92Sfv5h42ARe9XpuYSQm=Ag8E5WPqw@mail.gmail.com>
	<[email protected]>
	<CACJufxG3N8mNXjtP_VDR1V54kfinU3jrEvCjpUO-n056hnOqVA@mail.gmail.com>
	<CACJufxF=k+4Lcx=XTcZUfTAUOgq66sDXO=s_vkEFPt7s2LxaCA@mail.gmail.com>

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/





view thread (16+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: create table like including storage parameter
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox