diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-10-13 00:53:08 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-10-13 00:53:08 +0000 |
commit | 8d54c2482b264ef621ec315f127a565ff4387042 (patch) | |
tree | 2cdcf2750faf0774806f2af6ca4ef0e77bb4a91d /src/backend/parser/parse_utilcmd.c | |
parent | 5ec1341136941b538d07f54b2a6d7554857f8dc3 (diff) | |
download | postgresql-8d54c2482b264ef621ec315f127a565ff4387042.tar.gz postgresql-8d54c2482b264ef621ec315f127a565ff4387042.zip |
Code review for LIKE INCLUDING patch --- clean up some cosmetic and not
so cosmetic stuff.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
-rw-r--r-- | src/backend/parser/parse_utilcmd.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) && |