VAR
VAR — define a variable
Synopsis
VARvarnameISctype
Description
The VAR command assigns a new C data type
to a host variable. The host variable must be previously
declared in a declare section.
Examples
Exec sql begin declare section; short a; exec sql end declare section; EXEC SQL VAR a IS int;
Compatibility
The VAR command is a PostgreSQL extension.
Report a documentation issue
Read the upstream documentation. Report corrections through the PostgreSQL documentation form.