pgcollection 2.1.2
Bug Fixes
- Tighten type coercion in value retrieval and array conversion. Replace
can_coerce_type()with exact type match orIsBinaryCoercible()check to ensuredatumCopyalways uses metadata consistent with the actual stored datum representation. - Fix
icollection_to_arraytwo-argument polymorphic overload to determine the output element type fromget_fn_expr_rettype()rather than assuming it matches the stored type.
Testing
- Add regression tests for type coercion boundaries.
Internal Improvements
- Run pgindent with latest pg_bsd_indent.
Full Changelog: v2.1.1...v2.1.2