Seaquel
PostgreSQL error code

PostgreSQL error 38002

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

SQLSTATE38002
Condition namemodifying_sql_data_not_permitted
Class38 — External Routine Exception

Source: PostgreSQL documentation, Appendix A