Skip to content

Draft: feat: support ext1 msgpack values represented as float

Maksim Kaitmazian requested to merge max/pgproto/support-ext1-as-float into master

Summary

  • feat: support ext1 msgpack values represented as float

    In pgproto, values are initially retrieved encoded in msgpack format, similar to dispatch function. After that, these rmpv::Values are encoded as PostgreSQL types, depending on the derived types of the columns in sbroad. Some values can be represented in msgpack in unexpected ways. For instance, a decimal value can be represented as integer if it fits the integer limit. This commit introduces support of a new combination of msgpack value and type: (rmpv::Value::Ext(1, _), PgType::FLOAT8)


Edited by Maksim Kaitmazian

Merge request reports