mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
The new logic checks for any type of nil at the beginning of Encode and then either treats it as NULL or calls the driver.Valuer method if appropriate. This should preserve the existing nil normalization while restoring the ability to encode nil driver.Valuer values.