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