What's Changed
Further improve the nil value handling in arrays by @gwynne in #280
The previous set of fixes was incomplete. This revision correctly handles types which do not accidentally end up going through the legacy fast path via conforming to the deprecated
PostgresDataConvertible, as many built-in types still do. The slow path throughEncodablecan now detect the correctpsqlArrayTypefor all-nilarrays as long as the underlyingElementtype conforms toPostgresArrayEncodable.
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 2.16.0...2.16.1