File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/test/regress/expected Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -216,13 +216,16 @@ SELECT pg_column_compression(f1) FROM cmpart2;
216216-----------------------
217217(0 rows)
218218
219- -- test compression with inheritance, error
220- CREATE TABLE cminh() INHERITS(cmdata, cmdata1);
219+ -- test compression with inheritance
220+ CREATE TABLE cminh() INHERITS(cmdata, cmdata1); -- error
221221ERROR: relation "cmdata1" does not exist
222- CREATE TABLE cminh(f1 TEXT COMPRESSION lz4) INHERITS(cmdata);
222+ CREATE TABLE cminh(f1 TEXT COMPRESSION lz4) INHERITS(cmdata); -- error
223223NOTICE: merging column "f1" with inherited definition
224224ERROR: column "f1" has a compression method conflict
225225DETAIL: pglz versus lz4
226+ CREATE TABLE cmdata3(f1 text);
227+ CREATE TABLE cminh() INHERITS (cmdata, cmdata3);
228+ NOTICE: merging multiple inherited definitions of column "f1"
226229-- test default_toast_compression GUC
227230SET default_toast_compression = '';
228231ERROR: invalid value for parameter "default_toast_compression": ""
@@ -246,6 +249,7 @@ INSERT INTO cmdata VALUES (repeat('123456789', 4004));
246249 f1 | text | | | | extended | pglz | |
247250Indexes:
248251 "idx" btree (f1)
252+ Child tables: cminh
249253
250254SELECT pg_column_compression(f1) FROM cmdata;
251255 pg_column_compression
You can’t perform that action at this time.
0 commit comments