Applies to:
- Liquibase Pro
- Liquibase Open Source (Community)
Conditions:
- Any version of Liquibase Pro or Open Source
- Any database that uses schemas/catalogs
Issue Summary:
When attempting to run the generate-changelog
command, an error occurs that multiple catalogs were found.
Error Message:
ERROR: Exception Primary Reason: Found multiple catalogs matching
Root Cause:
Liquibase detects that there are at a minimum two schemas/catalogs that share the same name.
Resolution:
The database will need to be analyzed to ensure that there are no duplicate schemas/catalogs that share the same name.
There is a known bug in v4.29.0 and lower where if a schema/catalog is blank (empty characters or only spaces), it will show this error message with the target schema. If this is the case, the blank schema/catalog will need to be removed from the database for the command to execute successfully.
Related Article(s):
N/A
Comments
0 comments
Article is closed for comments.