Skip to content

Upgrading Timescale extension from 2.8.1 to version 2.11.1 fails when the scripts are installed. #34

@expaso

Description

@expaso

When these scripts are installed, the upgrade of the timescale extension fails with:

cannot drop _timescaledb_catalog.dimension_slice because it depends on function public.get_dimension_details(regclass)
Same error for the views: public.chunks_tstz and public.chunks_ts

This is rather nasty for me, since I don't know if users have timescaledb-extra's installed or not, and I do unsupervised upgrade.

For now, I drop these function if they exist before upgrade, but I found it worth mentioning because there may be more elegant solutions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions