mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-28 09:46:44 +08:00
Fix error hint for compress_chunk
The errror hint for compress_chunk misspelled the option to use for enabling compression. This patch changes the error hint and also makes the hint a proper sentence.
This commit is contained in:
parent
b9674600ae
commit
3d55595ad0
@ -152,7 +152,7 @@ compresschunkcxt_init(CompressChunkCxt *cxt, Cache *hcache, Oid hypertable_relid
|
|||||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
errmsg("chunks can be compressed only if compression property is set on the "
|
errmsg("chunks can be compressed only if compression property is set on the "
|
||||||
"hypertable"),
|
"hypertable"),
|
||||||
errhint("use ALTER TABLE with timescaledb.compression option ")));
|
errhint("Use ALTER TABLE with timescaledb.compress option.")));
|
||||||
}
|
}
|
||||||
compress_ht = ts_hypertable_get_by_id(srcht->fd.compressed_hypertable_id);
|
compress_ht = ts_hypertable_get_by_id(srcht->fd.compressed_hypertable_id);
|
||||||
if (compress_ht == NULL)
|
if (compress_ht == NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user