Enterprise Postgres 17 SP1 Application Development Guide
7.4.4 DECLARE STATEMENT
Refer to "DECLARE STATEMENT" in the PostgreSQL Documentation.