I am running the latest version of TimescaleDB.
In the docs I found this: https://docs.timescale.com/latest/using-timescaledb/compression#quick-start
When I run:
CREATE TABLE con_details (LIKE deprecated_consumption_details INCLUDING DEFAULTS INCLUDING CONSTRAINTS INCLUDING INDEXES);
SELECT create_hypertable('con_details', 'date');
ALTER TABLE con_details SET (
timescaledb.compress,
timescaledb.compress_segmentby = 'meter_id'
);
SELECT add_compression_policy('con_details', INTERVAL '7 days');
the last line is throwing an error:
SQL Error [42883]: ERROR: function add_compression_policy(unknown, interval) does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Position: 9
Also other functions that are in the docs such as:
SELECT * FROM hypertable_detailed_size('con_details');
are giving me errors:
ERROR: function hypertable_detailed_size(unknown) does not exist
The TimescaleDB extension is of course enabled (creating and querying a Hypertable works fine...)
