RefLib

Reference library for AI

Back

postgresql_16:7.1.100.1 Description

PostgreSQL 16 > Reference > SQL Commands > DO > Description

DO executes an anonymous code block, or in other words a transient anonymous function in a procedural language.

The code block is treated as though it were the body of a function with no parameters, returning void. It is parsed and executed a single time.

The optional LANGUAGE clause can be written either before or after the code block.

Back