]> begriffs open source - ai-pg/blob - full-docs/txt/ecpg-sql-allocate-descriptor.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / ecpg-sql-allocate-descriptor.txt
1
2 ALLOCATE DESCRIPTOR
3
4    ALLOCATE DESCRIPTOR — allocate an SQL descriptor area
5
6 Synopsis
7
8 ALLOCATE DESCRIPTOR name
9
10 Description
11
12    ALLOCATE DESCRIPTOR allocates a new named SQL descriptor area, which
13    can be used to exchange data between the PostgreSQL server and the host
14    program.
15
16    Descriptor areas should be freed after use using the DEALLOCATE
17    DESCRIPTOR command.
18
19 Parameters
20
21    name #
22           A name of SQL descriptor, case sensitive. This can be an SQL
23           identifier or a host variable.
24
25 Examples
26
27 EXEC SQL ALLOCATE DESCRIPTOR mydesc;
28
29 Compatibility
30
31    ALLOCATE DESCRIPTOR is specified in the SQL standard.
32
33 See Also
34
35    DEALLOCATE DESCRIPTOR, GET DESCRIPTOR, SET DESCRIPTOR