You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Value sets read a ragged nest of empty arrays as {}, which PostgreSQL refuses #231
area/literalsParse, TryParse and formattingarea/value-setsValue set families and wrapper aritiesbugSomething isn't workingpackage/coreAffects CodoMetis.ValueRangesseverity/lowCosmetic, message or documentation-level differencesilentAnswers wrongly without throwing — fixes go in the next major, never deferred
Value sets read a ragged nest of empty arrays as {}, although PostgreSQL 16, 17 and 18 all refuse it (malformed array literal):
Int32Set.Parse("{{{},{}},{{}}}") → {}
Int32Set.Parse("{{{}},{{},{}}}") → {}
PostgreSQL 17 and 18 accept {{{},{}},{{},{}}} and {{{{}}},{{{}}}}: every sub-array at one level must hold the same number of entries, not only reach the same depth. SetFormat.IsNestOfEmptyArrays (near line 163) compares depth only. This affects every value set type and every entry point through SetFormat: Parse, TryParse, TypeConverter and the EF JSON document reader. Found by the pre-tag analysis (#179), part B. New in 10.0.0 (#128), so nothing has shipped. It accepts silently where PostgreSQL refuses.
Change
Have the depth walk return per-level counts and refuse siblings whose counts differ.
Done when
Both ragged literals are in the rejected rows of NestedEmptyArrays_ReadAsPostgres17AndLaterReadThem_AndPostgres16Rejects and SetDimensionDecorationTests. {{{},{}},{{},{}}} is in the accepted rows. The tests fail with the depth-only check restored.
area/literalsParse, TryParse and formattingarea/value-setsValue set families and wrapper aritiesbugSomething isn't workingpackage/coreAffects CodoMetis.ValueRangesseverity/lowCosmetic, message or documentation-level differencesilentAnswers wrongly without throwing — fixes go in the next major, never deferred
Activity