Project

General

Profile

Actions

Bug #38533

closed

Database reset fails on external DB when evr extension is present

Added by Evgeni Golov 6 days ago. Updated 6 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
No

Description

When resetting an external DB, we execute DROP OWNED BY CURRENT_USER CASCADE; to delete everything owned by us, as we can't drop the whole DB (what we do in the local DB case).

In some cases, PostgreSQL tries to drop the evt_t type before dropping the extension, resulting in the following error:

ERROR:  cannot drop type evr_t because extension evr requires it
HINT:  You can drop extension evr instead.

Actions #1

Updated by The Foreman Bot 6 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/1029 added
Actions #2

Updated by Evgeni Golov 6 days ago

  • Red Hat JIRA set to SAT-31763
Actions #3

Updated by The Foreman Bot 6 days ago

  • Fixed in Releases 3.16.0 added
Actions #4

Updated by Evgeni Golov 6 days ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF