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
Rewrite NpgsqlRange.Parse with modern primitives #5306
We've had various conversations about this in the past (can look for the issues), but I think there's a good case to be made for not supporting NpgsqlRange.Parse. We generally avoid supporting parsing/formatting except for cases which are completely trivial; for example, date/time formatting/parsing isn't something we can do reliably on the client side, since the representation is supposed to be a PG one. Since ranges can be constructed over arbitrary types (notably over date/time types), they suffer from the same problem.
Activity
roji commentedon Oct 4, 2023
We've had various conversations about this in the past (can look for the issues), but I think there's a good case to be made for not supporting NpgsqlRange.Parse. We generally avoid supporting parsing/formatting except for cases which are completely trivial; for example, date/time formatting/parsing isn't something we can do reliably on the client side, since the representation is supposed to be a PG one. Since ranges can be constructed over arbitrary types (notably over date/time types), they suffer from the same problem.
NinoFloris commentedon Mar 12, 2024
Yep let's leave it :)