From 46651ce6fe013220ed397add242004d764fc0153 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:15:05 +0200 Subject: Adding upstream version 14.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..1fd7475 --- /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