partitioning - PostgreSQL cannot drop index on partition -
i have several partition tables indexes on them. indexes can seen in response of
select indexname pg_catalog.pg_indexes;
but when i'm trying make drop index my_index_name;
returns error declaring there no index my_index_name. how can drop indexes?
could related search_path
. try dropping index prefixed schema.
eg.
select schemaname,tablename,indexname pg_indexes indexname = 'my_index_name'
using results of query, drop index:
drop index some_schema.your_index_name;
Comments
Post a Comment