Available on crate features
source-postgres-cdc and source-rest only.Expand description
Postgres type OID -> JSON Value mapping for text-mode tuple cells.
Reference: https://github.com/postgres/postgres/blob/master/src/include/catalog/pg_type.dat Only the OIDs that ship with every Postgres install are special-cased; anything else falls back to a JSON string.
Functionsยง
- text_
to_ json - Decode a text-encoded value with the given column type OID into JSON.