• S
    Add explicit type to array literals · 0a6bda8a
    Shay Rojansky 提交于
    Array literals are now rendered as ARRAY[3,4]::integer[], including
    explicit typing. This fixes:
    1. Empty array literals (ARRAY[] raised an error).
    2. Cases such as arrays of shorts, which would render as ARRAY[3,4]
       and which PostgreSQL would take to be an array of ints.
    
    Fixes #439
    0a6bda8a
NpgsqlArrayTypeMapping.cs 10.2 KB