From 8d54c2482b264ef621ec315f127a565ff4387042 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 13 Oct 2009 00:53:08 +0000 Subject: Code review for LIKE INCLUDING patch --- clean up some cosmetic and not so cosmetic stuff. --- src/backend/parser/parse_utilcmd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/backend/parser/parse_utilcmd.c') diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c index 7dfdd28601f..0398cafc787 100644 --- a/src/backend/parser/parse_utilcmd.c +++ b/src/backend/parser/parse_utilcmd.c @@ -19,7 +19,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/parser/parse_utilcmd.c,v 2.27 2009/10/12 19:49:24 adunstan Exp $ + * $PostgreSQL: pgsql/src/backend/parser/parse_utilcmd.c,v 2.28 2009/10/13 00:53:08 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -642,6 +642,8 @@ transformInhRelation(ParseState *pstate, CreateStmtContext *cxt, /* Likewise, copy storage if requested */ if (inhRelation->options & CREATE_TABLE_LIKE_STORAGE) def->storage = attribute->attstorage; + else + def->storage = 0; /* Likewise, copy comment if requested */ if ((inhRelation->options & CREATE_TABLE_LIKE_COMMENTS) && -- cgit v1.2.3