By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
CREATE FUNCTION
ulid_to_uuid |
---|
017c1640-9248-b597-b8ae-91867b0c882c |
SELECT 1
uppercase | lowercase |
---|---|
0110c853-1d09-52da-e9d2-b6be35be77df | 0110c853-1d09-52da-e9d2-b6be35be77df |
SELECT 1
uuid_to_ulid | uuid_to_ulid |
---|---|
01FGB414J8PPBVHBMHGSXGS21C | 0123456789ABDEKMNPQRTVWXYZ |
SELECT 1
ERROR: Invalid ULID: 81FGB414J8PPBVHBMHGSXGS21C CONTEXT: PL/pgSQL function parse_ulid(text) line 24 at RAISE PL/pgSQL function ulid_to_uuid(text) line 3 at RETURN