Skip to content

missing-language (GN038)#

Automatic fix is not available.

What it does#

Checks functions and procedures for a missing language.

Why not?#

PostgreSQL requires a language when creating a function or procedure, unless an SQL-standard body is supplied. SQL-standard bodies implicitly use LANGUAGE SQL. DO statements default to PL/pgSQL and do not require an explicit language.

When should you?#

Never.

Use instead:#

Specify the language used by the body, or supply an SQL-standard body.