From 5e45211a64149b3c659b90ff2de6fa982a5a93ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:17:33 +0200 Subject: Adding upstream version 15.5. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/ecpg-sql-var.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/src/sgml/html/ecpg-sql-var.html (limited to 'doc/src/sgml/html/ecpg-sql-var.html') diff --git a/doc/src/sgml/html/ecpg-sql-var.html b/doc/src/sgml/html/ecpg-sql-var.html new file mode 100644 index 0000000..5bee6c5 --- /dev/null +++ b/doc/src/sgml/html/ecpg-sql-var.html @@ -0,0 +1,19 @@ + +VAR

VAR

VAR — define a variable

Synopsis

+VAR varname IS ctype
+

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. +

Parameters

varname

+ A C variable name. +

ctype

+ A C type specification. +

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. +

\ No newline at end of file -- cgit v1.2.3