psycopg2.errors.ForeignKeyViolation: update or delete on table "datasets" violates foreign key constraint "datasets_parent_child_parent_namespace_parent_name_fkey" on table "datasets_parent_child"
DETAIL: Key (namespace, name)=(ns, fred) is still referenced from table "datasets_parent_child".
So you might think then you need to remove the subset ns:existing from the ns:fred dataset first before you can remove it, but there is no call to do that -- there is no metacat dataset remove-subset...
if you
you can not
metacat dataset remove ns:fred
You get a stacktrace ending in:
So you might think then you need to remove the subset ns:existing from the ns:fred dataset first before you can remove it, but there is no call to do that -- there is no
metacat dataset remove-subset
...