Skip to main content

Module sql

Module sql 

Source
Expand description

SQL result formatting, type metadata and bounded cursors. SQL result formatting, PostgreSQL type metadata and bounded columnar cursors.

Structs§

SQLCursor
Iterator over schema-ordered column batches backed by a work-mem-bounded SharedSpill. Dropping the cursor releases its temporary file. Positional conversion preserves separately-valued duplicate labels in ColumnarBatch.
SQLCursorSummary
Metadata known before a cursor is consumed.
SQLTypeMetadata
The type fields in a PostgreSQL result-column descriptor.

Functions§

format_postgres_text
Format a result with its live session output style and declared type.
postgres_result_type
Resolve result metadata without inspecting runtime values. PostgreSQL flattens a domain to its base type at the client boundary, while arrays retain their element type identity.