diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-03-31 16:28:30 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-03-31 16:28:51 -0400 |
commit | c94e6942cefe7d20c5feed856e27f672734b1e2b (patch) | |
tree | 56daaadb30a7f2cc4dcdd7aa09fb208e46e3bbe6 /src/backend/parser/parse_enr.c | |
parent | f49bcd4ef3e9a75de210357a4d9bbe3e004db956 (diff) | |
download | postgresql-c94e6942cefe7d20c5feed856e27f672734b1e2b.tar.gz postgresql-c94e6942cefe7d20c5feed856e27f672734b1e2b.zip |
Don't allocate storage for partitioned tables.
Also, don't allow setting reloptions on them, since that would have no
effect given the lack of storage. The patch does this by introducing
a new reloption kind for which there are currently no reloptions -- we
might have some in the future -- so it adjusts parseRelOptions to
handle that case correctly.
Bumped catversion. System catalogs that contained reloptions for
partitioned tables are no longer valid; plus, there are now fewer
physical files on disk, which is not technically a catalog change but
still a good reason to re-initdb.
Amit Langote, reviewed by Maksim Milyutin and Kyotaro Horiguchi and
revised a bit by me.
Discussion: http://postgr.es/m/20170331.173326.212311140.horiguchi.kyotaro@lab.ntt.co.jp
Diffstat (limited to 'src/backend/parser/parse_enr.c')
0 files changed, 0 insertions, 0 deletions