Version: Development (Unstable) v18 Latest v17 v16 Development Unstable This documentation is sourced from a third-party project and is not maintained by pgEdge. PL/pgSQL — SQL Procedural Language Overview Structure of PL/pgSQL Declarations Expressions Basic Statements Control Structures Cursors Transaction Management Errors and Messages Trigger Functions PL/pgSQL under the Hood Tips for Developing in PL/pgSQL Porting from Oracle PL/SQL