My Oracle Support Banner

PL/SQL Compilation Fails with PLS-00801: Internal Error [Phd_get_defn:Lhs Expr Type] (Doc ID 1368551.1)

Last updated on JUNE 20, 2022

Applies to:

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

Symptoms

After migrating from 10.2.0.4 to 11.2.0.2 an existing PL/SQL package fails to compile when calling a function as an expression which references a record type.
The error is PLS-00801: internal error [phd_get_defn:LHS expr type].

It can be reproduced with the following code:



Warning: Package Body created with compilation errors.

SQL> show errors
Errors for PACKAGE BODY PACK_TEST:

LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0 PLS-00801: internal error [phd_get_defn:LHS expr type]


Changes

Migrate from 10.2.0.5 to 11.1.0.6, 11.1.0.7 or 11.2.0.2.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.