Postgres module

field_type

procedure · 1 overloadsince 0.27.0Source

The type of a column's field, or a problem: an enum the catalog does not list.

field_type :: (
    relation: Catalog_Relation,
    column: Catalog_Column,
    catalog: Catalog,
    names: Names
) -> (string, problem: string)

The type of a column's field, or a problem: an enum the catalog does not list.

Parameters

relation: Catalog_Relation
the table or view the column is in.
column: Catalog_Column
the column to type.
catalog: Catalog
where enums are looked up.
names: Names
the Jai names assign_names gave.

Returns

string
problem: string

See also