When "safe compilation" is turned on, compiling a package that refers to itself (example below) for the first time fails with an "identifier X must be declared" error.
Normally this would work, but because the package is being compiled under a different (temporary) name, it fails.
CREATE OR REPLACE PACKAGE Pkg AS
TYPE NumArray IS TABLE OF VARCHAR2(32767);
myArray Pkg.NumArray;
END Pkg;
Normally this would work, but because the package is being compiled under a different (temporary) name, it fails.
CREATE OR REPLACE PACKAGE Pkg AS
TYPE NumArray IS TABLE OF VARCHAR2(32767);
myArray Pkg.NumArray;
END Pkg;