REGEXP_REPLACE On Uninitialized CLOB Variable In RECORD Type Fails With ORA-07445 [PESL_SRC_DST_CMP]

(Doc ID 2379102.1)

Last updated on MARCH 30, 2018

Applies to:

PL/SQL - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

REGEXP_REPLACE on an uninitialized CLOB variable in a record type fails with ORA-07445 [pesl_src_dst_cmp()+1026].

The behavior can be observed easily using below code snippet.

If l_rec.content is initialized with EMPTY_CLOB or with some text then the code does not fail.

Changes

None. The issue is seen even before any upgrade or bug fixes. Issue can be reproduced in all versions.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms