Postgresql 中文操作指南

ALLOCATE DESCRIPTOR

ALLOCATE DESCRIPTOR - 分配 SQL 描述符区域

ALLOCATE DESCRIPTOR — allocate an SQL descriptor area

Synopsis

ALLOCATE DESCRIPTOR name

Description

ALLOCATE DESCRIPTOR 分配一个新的命名 SQL 描述符区域,它可用于在 PostgreSQL 服务器和主机程序之间交换数据。

ALLOCATE DESCRIPTOR allocates a new named SQL descriptor area, which can be used to exchange data between the PostgreSQL server and the host program.

描述符区域应在使用后使用 DEALLOCATE DESCRIPTOR 命令释放。

Descriptor areas should be freed after use using the DEALLOCATE DESCRIPTOR command.

Parameters

  • name #

    • A name of SQL descriptor, case sensitive. This can be an SQL identifier or a host variable.

Examples

EXEC SQL ALLOCATE DESCRIPTOR mydesc;

Compatibility

ALLOCATE DESCRIPTOR 指定在 SQL 标准中。

ALLOCATE DESCRIPTOR is specified in the SQL standard.