Seaquel
PostgreSQL error code

PostgreSQL error 39P02

39P02 is the SQLSTATE PostgreSQL reports for srf protocol violated, in class 39, External Routine Invocation Exception.

SQLSTATE39P02
Condition namesrf_protocol_violated
Class39 — External Routine Invocation Exception

Source: PostgreSQL documentation, Appendix A