Informix Error -12095: Smart Large Objects: create: Invalid Ext. size (<number-of-kilobytes>) Ext. size < -1 or > MAXINT.
Cause and resolution
Smart Large Objects: create: Invalid Ext. size (<number-of-kilobytes>) Ext. size < -1 or > MAXINT.
The application programmer specified an invalid value for the estimated number of bytes in a smart large object. If the extent size is out of range for a smart large object, set the estimated extent size to -1 or call ifx_lo_def_create_spec or the equivalent mi function and then leave this field alone.
</number-of-kilobytes>Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12095 fires when a smart-large-object create specification's extent-size field is out of range — per the official guidance.
- An extent size less than -1 or greater than
MAXINT, per the official guidance — the direct, only cause.
Solutions / Resolution
- Set the estimated extent size to -1 if unknown, per the official guidance, or
- Call
ifx_lo_def_create_spec(or the equivalentmifunction) and leave the field alone, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an out-of-range extent size.
Diagnostic Checks
- Check the extent-size field in the create specification, and set it to -1 or leave
it at the default from
ifx_lo_def_create_spec.
Related Errors / Related Topics
- -12088 — "Smart Large Objects: create: number of estimate bytes < -1." The same class of invalid create-specification value, for the estimated-bytes field.
- -12089 — "Smart Large Objects: create: size limit of smart large object < -1." The same class of invalid create-specification value, for the size-limit field.
The extent-size field in a create specification was out of range — set it to -1 or leave the
ifx_lo_def_create_spec default.