mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 02:23:49 +08:00
Properly format license error hint
Commit 57fde383b3dddd0b52263218e65a0135981c2d34 changed the messaging but did not format the error hint correctly. This patch fixes the error hint. Fixes #5490
This commit is contained in:
parent
8c77be6c68
commit
3814a3f351
@ -167,7 +167,7 @@ error_no_default_fn_community(void)
|
|||||||
errmsg("functionality not supported under the current \"%s\" license. Learn more at "
|
errmsg("functionality not supported under the current \"%s\" license. Learn more at "
|
||||||
"https://timescale.com/.",
|
"https://timescale.com/.",
|
||||||
ts_guc_license),
|
ts_guc_license),
|
||||||
errhint("To get access to all features, and the best time-series experience try out "
|
errhint("To access all features and the best time-series experience, try out "
|
||||||
"Timescale Cloud.")));
|
"Timescale Cloud.")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,8 +160,8 @@ ts_chunk_dispatch_get_chunk_insert_state(ChunkDispatch *dispatch, Point *point,
|
|||||||
errmsg("functionality not supported under the current \"%s\" license. "
|
errmsg("functionality not supported under the current \"%s\" license. "
|
||||||
"Learn more at https://timescale.com/.",
|
"Learn more at https://timescale.com/.",
|
||||||
ts_guc_license),
|
ts_guc_license),
|
||||||
errhint("To get access to all features, and the best time-series "
|
errhint("To access all features and the best time-series "
|
||||||
"experience try out Timescale Cloud")));
|
"experience, try out Timescale Cloud")));
|
||||||
}
|
}
|
||||||
|
|
||||||
MemoryContextSwitchTo(old_context);
|
MemoryContextSwitchTo(old_context);
|
||||||
|
@ -54,7 +54,7 @@ SELECT create_hypertable('metrics', 'time');
|
|||||||
|
|
||||||
ALTER TABLE metrics SET (timescaledb.compress);
|
ALTER TABLE metrics SET (timescaledb.compress);
|
||||||
ERROR: functionality not supported under the current "apache" license. Learn more at https://timescale.com/.
|
ERROR: functionality not supported under the current "apache" license. Learn more at https://timescale.com/.
|
||||||
HINT: To get access to all features, and the best time-series experience try out Timescale Cloud.
|
HINT: To access all features and the best time-series experience, try out Timescale Cloud.
|
||||||
INSERT INTO metrics
|
INSERT INTO metrics
|
||||||
VALUES ('2022-01-01 00:00:00', 1), ('2022-01-01 01:00:00', 2), ('2022-01-01 02:00:00', 3);
|
VALUES ('2022-01-01 00:00:00', 1), ('2022-01-01 01:00:00', 2), ('2022-01-01 02:00:00', 3);
|
||||||
CREATE MATERIALIZED VIEW metrics_hourly
|
CREATE MATERIALIZED VIEW metrics_hourly
|
||||||
@ -67,7 +67,7 @@ FROM metrics
|
|||||||
GROUP BY bucket
|
GROUP BY bucket
|
||||||
WITH NO DATA;
|
WITH NO DATA;
|
||||||
ERROR: functionality not supported under the current "apache" license. Learn more at https://timescale.com/.
|
ERROR: functionality not supported under the current "apache" license. Learn more at https://timescale.com/.
|
||||||
HINT: To get access to all features, and the best time-series experience try out Timescale Cloud.
|
HINT: To access all features and the best time-series experience, try out Timescale Cloud.
|
||||||
CREATE MATERIALIZED VIEW metrics_hourly
|
CREATE MATERIALIZED VIEW metrics_hourly
|
||||||
AS
|
AS
|
||||||
SELECT time_bucket(INTERVAL '1 hour', time) AS bucket,
|
SELECT time_bucket(INTERVAL '1 hour', time) AS bucket,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user