View Source Electric.Replication.Eval.Env.BasicTypes (electric v0.9.5)
This module describes basic types, their categories, and if they are preferred within said category.
Information here is gathered from a system catalog pg_type
, as described in
PG docs.
Known types
type | category | preferred? |
---|---|---|
bool | boolean | t |
int2 | numeric | |
int4 | numeric | |
int8 | numeric | |
float4 | numeric | |
float8 | numeric | t |
numeric | numeric | |
name | string | |
text | string | t |
varchar | string | |
date | datetime | |
time | datetime | |
timestamp | datetime | |
timestamptz | datetime | t |
interval | timespan | t |
unknown | unknown | |
bytea | user | |
uuid | user | |
anyarray | pseudo | |
anycompatible | pseudo | |
anycompatiblearray | pseudo | |
anycompatiblemultirange | pseudo | |
anycompatiblenonarray | pseudo | |
anycompatiblerange | pseudo | |
anyelement | pseudo | |
anyenum | pseudo | |
anymultirange | pseudo | |
anynonarray | pseudo | |
anyrange | pseudo |