Re: create table like including storage parameter
jian he <jian.universality@gmail.com>
From: jian he <jian.universality@gmail.com>
To: Euler Taveira <euler@eulerto.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>, "David G. Johnston" <david.g.johnston@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-12-17T06:41:06Z
Lists: pgsql-hackers
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