hive.app_remove_context does not work when context is detached
hive.app_remove_context does not work when the context is detached:
hive.app_remove_context('account_history');
ERROR: could not find a function named "hive_on_table_trigger_insert_public_accounts"
CONTEXT: SQL statement "DROP FUNCTION hive_on_table_trigger_insert_public_accounts CASCADE"
PL/pgSQL function hive.unregister_table(text,text) line 36 at EXECUTE
SQL statement "SELECT hive.unregister_table( hrt.origin_table_schema, hrt.origin_table_name )
FROM hive.registered_tables hrt
WHERE hrt.context_id = __context_id"
PL/pgSQL function