diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2009-10-12 19:49:24 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2009-10-12 19:49:24 +0000 |
commit | faa1afc6c16631424579548a6e2fafb130f834f4 (patch) | |
tree | c41b0585535ab283ba0a1cc407b58e7be4548a33 /src/backend/access/common | |
parent | 0adaf4cb312fe3eff83e786d6a0b53ae2cdc9302 (diff) | |
download | postgresql-faa1afc6c16631424579548a6e2fafb130f834f4.tar.gz postgresql-faa1afc6c16631424579548a6e2fafb130f834f4.zip |
CREATE LIKE INCLUDING COMMENTS and STORAGE, and INCLUDING ALL shortcut. Itagaki Takahiro.
Diffstat (limited to 'src/backend/access/common')
-rw-r--r-- | src/backend/access/common/tupdesc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/access/common/tupdesc.c b/src/backend/access/common/tupdesc.c index 9c561beed19..f19fc9bc95a 100644 --- a/src/backend/access/common/tupdesc.c +++ b/src/backend/access/common/tupdesc.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/common/tupdesc.c,v 1.128 2009/08/02 22:14:51 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/common/tupdesc.c,v 1.129 2009/10/12 19:49:24 adunstan Exp $ * * NOTES * some of the executor utility code such as "ExecTypeFromTL" should be @@ -558,6 +558,8 @@ BuildDescForRelation(List *schema) has_not_null |= entry->is_not_null; desc->attrs[attnum - 1]->attislocal = entry->is_local; desc->attrs[attnum - 1]->attinhcount = entry->inhcount; + if (entry->storage) + desc->attrs[attnum - 1]->attstorage = entry->storage; } if (has_not_null) |