This chapter describes the built-in packages that are provided with PolarDB-O. For certain packages, non-superusers must be explicitly granted the EXECUTE privilege on the package before using any of the functions or stored procedures in the package. For most of the built-in packages, the EXECUTE privilege is granted to PUBLIC by default. For more information about using the GRANT command to provide access to a package, see the GRANT command.

All built-in packages are owned by the special sys user. You must specify this user when granting or revoking privileges on built-in packages.
GRANT EXECUTE ON PACKAGE SYS.UTL_FILE TO john;