PL/pgSQL is the default procedural language for the PostgreSQL database system. Questions about PL/pgSQL should probably be tagged "PostgreSQL" as well.

PL/pgSQL is the native stored procedure language for PostgreSQL. It can be used to write user defined functions and triggers. In PostgreSQL 9.0 and later, PL/pgSQL is installed by default and can also be used in anonymous code blocks using the DO statement.

history | excerpt history