Skip to content

DALgo2sql v0.29.0

Latest

Choose a tag to compare

@trakhimenok trakhimenok released this 07 Oct 11:14
549ea5f

DALgo2sql now supports opt-in PostgreSQL BYTEA preservation through DbOptions.PreserveBinaryValues. Map-backed query, Get, and GetMulti reads retain owned byte slices, including NUL and invalid UTF-8; empty bytes stay distinct from NULL. A NULL read clears stale binary data in a reused map. Unexpected non-byte driver values are rejected.

The default conversion and other column types remain compatible. Struct-backed reads reject this option; recordset reads already preserve binary values. The option works alongside exact NUMERIC text.

Validation: independent review, full tests and vet, 100% statement coverage, and exact-head CI on both the PR and merged commit.