Postgres module

Column

structsince 0.27.0Source

Fields

name: string
table_oid: u32
the table the column comes from; 0 for computed columns
column_number: s16
its attribute number in that table; 0 for computed columns
type_oid: u32
see Oid
type_size: s16
pg_type.typlen: negative for variable-length types
type_modifier: s32
pg_attribute.atttypmod: varchar(n), numeric(p, s), ...
format: Format
origin: string
"table.column" when a typed query knows it (names decode errors); else empty

See also