PL/pgSQL

E97109

PL/pgSQL is PostgreSQL’s procedural extension of SQL that allows writing stored functions and triggers with control structures like variables, loops, and conditionals.

AI illustration

How this image was made

AI-generated illustration of PL/pgSQL

This AI-generated illustration was produced by black-forest-labs/FLUX.2-dev (1024x1024) from a prompt written by openai/gpt-oss-120b from the entity's label + description.

Prompt

Generate an image of PL/pgSQL (PL/pgSQL is PostgreSQL’s procedural extension of SQL that allows writing stored functions and triggers with control structures like variables, loops, and conditionals.)

All labels observed (2)

How this entity was disambiguated

Statements (70)

Predicate Object
instanceOf PostgreSQL extension ⓘ
SQL extension ⓘ
procedural programming language ⓘ
abbreviationOf Procedural Language/PostgreSQL Structured Query Language ⓘ
linked to: PL/pgSQL
category database programming language ⓘ
server-side scripting language ⓘ
designedFor PostgreSQL ⓘ
developedFor server-side programming ⓘ
documentationURL https://www.postgresql.org/docs/current/plpgsql.html ⓘ
executionModel compiled to internal bytecode ⓘ
executed inside PostgreSQL backend process ⓘ
hasSyntax BEGIN-END block ⓘ
CREATE FUNCTION ⓘ
DECLARE block ⓘ
EXCEPTION block ⓘ
influencedBy Oracle PL/SQL ⓘ
linked to: PL/SQL
integratedWith PostgreSQL query planner ⓘ
PostgreSQL transaction manager ⓘ
PostgreSQL type system ⓘ
languageName PL/pgSQL ⓘ
primaryUse automation of database tasks ⓘ
business logic in the database ⓘ
data validation ⓘ
runsOn PostgreSQL server ⓘ
linked to: PostgreSQL
supportsFeature AFTER triggers ⓘ
BEFORE triggers ⓘ
CASE statements ⓘ
DEFAULT parameter values ⓘ
FOR loops ⓘ
FOREACH loops ⓘ
IF statements ⓘ
IMMUTABLE function attribute ⓘ
INOUT parameters ⓘ
INSTEAD OF triggers ⓘ
NEW and OLD row references ⓘ
OUT parameters ⓘ
PERFORM statement ⓘ
RAISE EXCEPTION ⓘ
RAISE INFO ⓘ
RAISE NOTICE ⓘ
RAISE WARNING ⓘ
RAISE statements ⓘ
RETURN NEXT ⓘ
RETURN QUERY ⓘ
SECURITY DEFINER functions ⓘ
SECURITY INVOKER functions ⓘ
STABLE function attribute ⓘ
STRICT option for functions ⓘ
VOLATILE function attribute ⓘ
WHILE loops ⓘ
composite types ⓘ
conditionals ⓘ
control structures ⓘ
cursors ⓘ
dynamic SQL ⓘ
exception handling ⓘ
local variables ⓘ
loops ⓘ
named parameters ⓘ
prepared statements ⓘ
record types ⓘ
row-level triggers ⓘ
statement-level triggers ⓘ
stored functions ⓘ
stored procedures ⓘ
transaction control ⓘ
trigger functions ⓘ
triggers ⓘ
user-defined types ⓘ
variables ⓘ

How these facts were elicited

Referenced by (8)

Full triples — surface form annotated when it differs from this entity's canonical label.

PostgreSQL → supportsLanguage → PL/pgSQL ⓘ
PL/pgSQL → languageName → PL/pgSQL ⓘ
PL/pgSQL → abbreviationOf → Procedural Language/PostgreSQL Structured Query Language ⓘ
linked to: PL/pgSQL
PL/Tcl → relatedTo → PL/pgSQL ⓘ
PL/Perl → alternativeTo → PL/pgSQL ⓘ
Greenplum → supports → PL/pgSQL ⓘ