Informix Error -9454: Error getting length for user-defined type (<udt-type>). </udt-type>
Cause and resolution
Error getting length for user-defined type (<udt-type>). </udt-type>
An error occurred during an attempt to retrieve the length for the specified user-defined type.
Make sure that the length of the user-defined type is correctly stored in the sysxtdtypes system catalog table.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9454 fires when the database server fails to retrieve the length for the named user-defined type — per the official guidance.
- The UDT's length not correctly stored in the
sysxtdtypessystem catalog table, per the official guidance — the direct, only cause.
Solutions / Resolution
- Make sure the length of the UDT is correctly stored in the
sysxtdtypessystem catalog table, per the official guidance.
Examples
Checking sysxtdtypes
SELECT name, length FROM sysxtdtypes WHERE name = 'my_udt';
Diagnostic Checks
- Check the UDT's
lengthentry insysxtdtypes, and correct it if it's missing or wrong.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -9454 in this set yet.
The UDT's length couldn't be retrieved — check its entry in the sysxtdtypes system catalog
table.