@Suraj Jaiswal Thank you for reaching out and sorry about the issue you are facing.
Could you please run the below script.
Root cause: sql_identifier is a domain used in system catalogs and information schema. It is not meant for use in user tables, because its definition can change between versions
Next steps:
- Use this query in each database to identify where sql_identifier is used SELECT n.nspname AS schema_name, c.relname AS table_name, a.attname AS column_name, t.typname AS data_typeFROM pg_attribute aJOIN pg_class c ON a.attrelid = c.oidJOIN pg_namespace n ON c.relnamespace = n.oidJOIN pg_type t ON a.atttypid = t.oidWHERE a.attnum > 0 AND NOT a.attisdropped AND t.typname = 'sql_identifier' AND n.nspname NOT IN ('pg_catalog', 'information_schema'); 2. Alter these columns to use any other compatible data_types
- Alter these columns to use any other compatible data_types
- Try the upgrade again
Please let me know the result.
Regards,
Oury