Add min/max emulation for uuid on PostgreSQL

Description

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 to uuid 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.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

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