@@ -14,7 +14,7 @@ Indexes:
1414 "idx" btree (f1)
1515
1616CREATE TABLE cmdata1(f1 TEXT COMPRESSION lz4);
17- ERROR: unsupported LZ4 compression method
17+ ERROR: compression method lz4 not supported
1818DETAIL: This functionality requires the server to be built with lz4 support.
1919HINT: You need to rebuild PostgreSQL using --with-lz4.
2020INSERT INTO cmdata1 VALUES(repeat('1234567890', 1004));
@@ -193,7 +193,7 @@ LINE 1: SELECT pg_column_compression(x) FROM compressmv;
193193 ^
194194-- test compression with partition
195195CREATE TABLE cmpart(f1 text COMPRESSION lz4) PARTITION BY HASH(f1);
196- ERROR: unsupported LZ4 compression method
196+ ERROR: compression method lz4 not supported
197197DETAIL: This functionality requires the server to be built with lz4 support.
198198HINT: You need to rebuild PostgreSQL using --with-lz4.
199199CREATE TABLE cmpart1 PARTITION OF cmpart FOR VALUES WITH (MODULUS 2, REMAINDER 0);
@@ -238,7 +238,7 @@ HINT: Available values: pglz.
238238SET default_toast_compression = 'pglz';
239239-- test alter compression method
240240ALTER TABLE cmdata ALTER COLUMN f1 SET COMPRESSION lz4;
241- ERROR: unsupported LZ4 compression method
241+ ERROR: compression method lz4 not supported
242242DETAIL: This functionality requires the server to be built with lz4 support.
243243HINT: You need to rebuild PostgreSQL using --with-lz4.
244244INSERT INTO cmdata VALUES (repeat('123456789', 4004));
@@ -272,7 +272,7 @@ ERROR: relation "compressmv" does not exist
272272ALTER TABLE cmpart1 ALTER COLUMN f1 SET COMPRESSION pglz;
273273ERROR: relation "cmpart1" does not exist
274274ALTER TABLE cmpart2 ALTER COLUMN f1 SET COMPRESSION lz4;
275- ERROR: unsupported LZ4 compression method
275+ ERROR: compression method lz4 not supported
276276DETAIL: This functionality requires the server to be built with lz4 support.
277277HINT: You need to rebuild PostgreSQL using --with-lz4.
278278-- new data should be compressed with the current compression method
@@ -312,7 +312,7 @@ SELECT pg_column_compression(f1) FROM cmdata;
312312-- test expression index
313313DROP TABLE cmdata2;
314314CREATE TABLE cmdata2 (f1 TEXT COMPRESSION pglz, f2 TEXT COMPRESSION lz4);
315- ERROR: unsupported LZ4 compression method
315+ ERROR: compression method lz4 not supported
316316DETAIL: This functionality requires the server to be built with lz4 support.
317317HINT: You need to rebuild PostgreSQL using --with-lz4.
318318CREATE UNIQUE INDEX idx1 ON cmdata2 ((f1 || f2));
0 commit comments