Seaquel
PostgreSQL error code

PostgreSQL error 38004

38004 is the SQLSTATE PostgreSQL reports for reading sql data not permitted, in class 38, External Routine Exception.

SQLSTATE38004
Condition namereading_sql_data_not_permitted
Class38 — External Routine Exception

Source: PostgreSQL documentation, Appendix A