Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avcI5-0002I5-2R for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Apr 2016 03:06:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1avcI4-0006Pq-LM for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Apr 2016 03:06:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1auiWT-00073Z-No for pgsql-bugs@postgresql.org; Mon, 25 Apr 2016 15:34:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auiWQ-0004eV-HR for pgsql-bugs@postgresql.org; Mon, 25 Apr 2016 15:34:05 +0000 MIME-Version: 1.0 Subject: BUG #14113: LIKE INCLUDING STORAGE bug? To: pgsql-bugs@postgresql.org From: jdnelson@dyn.com Date: Mon, 25 Apr 2016 15:33:24 +0000 Message-ID: <20160425153324.2722.87726@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 14113 Logged by: Jon Nelson Email address: jdnelson@dyn.com PostgreSQL version: 9.4.6 Operating system: Linux Description: Running 9.4.6 and 9.4.7, I think I have encountered a bug with INCLUDING STORAGE. The CREATE TABLE syntax with INCLUDING STORAGE would seem to suggest that storage options on the parent table (such as fillfactor) are copied to the new child table, but this doesn't appear to work: jnelson=# create table p (column1 integer not null) with (fillfactor = 70); CREATE TABLE jnelson=# \d+ p Table "public.p" Column | Type | Modifiers | Storage | Stats target | Description ---------+---------+-----------+---------+--------------+------------- column1 | integer | not null | plain | | Options: fillfactor=70 jnelson=# create table c (like p including storage); CREATE TABLE jnelson=# \d+ c Table "public.c" Column | Type | Modifiers | Storage | Stats target | Description ---------+---------+-----------+---------+--------------+------------- column1 | integer | not null | plain | | jnelson=# -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs