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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -