Update TS to 2.15: experimantal function migrate error

Good day to all!

During update TSDB 2.14.2 to 2.15 error occurred:

ERROR:  tried calling catalog_get when extension isn't loaded
CONTEXT:  SQL statement "CALL _timescaledb_functions.cagg_migrate_to_time_bucket(cagg_name)"
PL/pgSQL function inline_code_block line 12 at CALL

Function from CONTEXT was applied to cagg that contained experimental time_bucket_ng.
Fortunately for me, this cagg was for tests and I deleted it.

But question is next: is that a normal behaviour of migrate function or had I to do something before update TS?

Hi @LuxCore

I’m experiencing the same issue. Did you find a work around? I can’t manage to update from 2.14.2 to 2.15

Thanks in Advance
Aaron

I initially dismissed your hint about time_bucket_ng… but this was indeed my problem too

problem solved after fixing the cagg to use the time_bucket() instead of time_bucket_ng()

2 Likes