plpgsql

PostgreSQL Tutorial: PL/pgSQL Exit Statement

Summary: in this tutorial, you will learn about the exit statement and how to use it to terminate a loop or a block.

Continue reading

PostgreSQL Tutorial: PL/pgSQL For Loop

Summary: in this tutorial, you will learn about PL/pgSQL for loop statements to iterate over a range of integers or a result set of a query.

Continue reading

PostgreSQL Tutorial: PL/pgSQL Function Overloading

Summary: in this tutorial, you will learn about function overloading in PostgreSQL.

Continue reading

PostgreSQL Tutorial: PL/pgSQL Function Parameter Modes: IN, OUT, INOUT

Summary: in this tutorial, you will learn about parameter modes of functions including: in, out, and inout.

Continue reading

PostgreSQL Tutorial: PL/pgSQL Function Returns A Table

Summary: in this tutorial, you will learn how to develop PostgreSQL functions that return a table.

Continue reading

PostgreSQL Tutorial: PL/pgSQL IF Statement

Summary: in this tutorial, you will learn how to use the PL/pgSQL if statements to execute a command based on a specific condition.

Continue reading

PostgreSQL Tutorial: PL/pgSQL Loop Statements

Summary: in this tutorial, you will learn about the PL/pgSQL loop statement that executes a block of code repeatedly.

Continue reading

PostgreSQL Tutorial: PL/pgSQL Record Types

Summary: in this tutorial, you will learn about the PL/pgSQL record types that allow you to define variables that can hold a single row from a result set.

Continue reading

PostgreSQL Tutorial: PL/pgSQL Row Types

Summary: in this tutorial, you will learn how to use the PL/pgSQL row types to declare row variables that hold a complete row of a result set.

Continue reading

PostgreSQL Tutorial: PL/pgSQL Variables

Summary: in this tutorial, you will learn various techniques to declare PL/pgSQL variables.

Continue reading