Fixed
Details
Assignee
Christian BeikovChristian BeikovReporter
Christian BeikovChristian BeikovComponents
Fix versions
Priority
Major
Details
Details
Assignee
Christian Beikov
Christian BeikovReporter
Christian Beikov
Christian BeikovComponents
Fix versions
Priority
Created October 5, 2022 at 8:14 AM
Updated October 5, 2022 at 10:02 AM
Resolved October 5, 2022 at 10:01 AM
In we made sure UUID is treated as comparable type, which works great, except on PostgreSQL for the
min
/max
aggregate functions.The workaround/emulation is to cast to
text
and the result of the aggregate function touuid
again. It’s not very efficient to do the casting, but it’s the best we can do without requiring users to add functions to PostgreSQL. Let’s make sure though, that users could override this behavior in a custom dialect subclass.