Draft: feat: support ext1 msgpack values represented as float
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)
- Close #841 (closed)
- Cherry-pick to: none
- Docs follow-up: not necessary / new issue
Edited by Maksim Kaitmazian