Informix Error -25725: Attempt to add duplicate modifier <modifier>. </modifier>
Cause and resolution
Attempt to add duplicate modifier <modifier>. </modifier>
The opaque data type in your ALTER OPAQUE TYPE statement already includes the modifier <modifier>. </modifier>
Remove <modifier> from the ALTER OPAQUE TYPE statement. </modifier>
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25725 fires when ALTER OPAQUE TYPE tries to add a modifier the type already has — per
the official guidance.
ALTER OPAQUE TYPEadding a modifier already present on the type, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove the modifier from the
ALTER OPAQUE TYPEstatement, per the official guidance, since it's already present.
Examples
N/A
No specific triggering statement is documented beyond adding an already-present modifier.
Diagnostic Checks
- Query the type's current modifiers, e.g. via
SELECT * FROM sysxtdtypes WHERE name = '<opaque_type_name>';, and confirm the modifier being added isn't already there.
Related Errors / Related Topics
- -25723 — "A modifier may not appear more than once in an ALTER statement." A related duplicate-modifier error, on the same modifier appearing twice within one statement rather than being added when already present.
- -25726 — "Attempt to drop non-existent modifier
." The mirror-image error, for dropping a modifier that isn't present.
ALTER OPAQUE TYPE tried to add a modifier the type already has — remove it from the
statement.