RefLib

Reference library for AI

Back

postgresql_16:5.3.7 Using Descriptor Areas

PostgreSQL 16 > Client Interfaces > ECPG — Embedded SQL in C > Using Descriptor Areas

An SQL descriptor area is a more sophisticated method for processing the result of a SELECT, FETCH or a DESCRIBE statement. An SQL descriptor area groups the data of one row of data together with metadata items into one data structure. The metadata is particularly useful when executing dynamic SQL statements, where the nature of the result columns might not be known ahead of time. PostgreSQL provides two ways to use Descriptor Areas: the named SQL Descriptor Areas and the C-structure SQLDAs.

Subsections

Back