public inbox for [email protected]  
help / color / mirror / Atom feed
From: jian he <[email protected]>
To: Euler Taveira <[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: Wed, 17 Dec 2025 14:41:06 +0800
Message-ID: <CACJufxF=k+4Lcx=XTcZUfTAUOgq66sDXO=s_vkEFPt7s2LxaCA@mail.gmail.com> (raw)
In-Reply-To: <CACJufxG3N8mNXjtP_VDR1V54kfinU3jrEvCjpUO-n056hnOqVA@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>

Hi,

current, v7 the DOC changes:
+       <varlistentry id="sql-createtable-parms-like-opt-storage-paramter">
+        <term><literal>INCLUDING PARAMETERS</literal></term>
+        <listitem>
+         <para>
+          All table parameters, such as the <literal>storage
parameter</literal>
+          settings of the source table, will be copied.  For table storage
+          parameters, see <xref linkend="sql-createtable-storage-parameters"/>
+          below for more information.
+         </para>
+        </listitem>
+       </varlistentry>

https://www.postgresql.org/docs/current/sql-altertable.html#SQL-ALTERTABLE-DESC-SET-ATTRIBUTE-OPTION

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.

What do you think?

--
jian
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: <CACJufxF=k+4Lcx=XTcZUfTAUOgq66sDXO=s_vkEFPt7s2LxaCA@mail.gmail.com>

* 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