From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Unmark gen_random_uuid() function leakproof |
Date: | 2024-12-09 22:10:30 |
Message-ID: | CAD21AoBE1ePPWY1NQEgk3DkqjYzLPZwYTzCySHm0e+9a69PfZw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
While reviewing UUIDv7 patch[1], I realized gen_random_uuid() is
marked leakproof even though it doesn't take arguments. The functions
without arguments don't need to be marked leakproof in principle. This
is the sole function that has no arguments and is listed in the "List
of built-in leakproof functions" in opr_sanity.sql. I've attached the
patch for fixing it and for better consistency with new UUID
generation functions discussed on that thread.
Regards,
--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Unmark-gen_random_uuid-function-leakproof.patch | application/octet-stream | 1.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2024-12-09 22:10:46 | Re: Fix tiny memory leaks |
Previous Message | David G. Johnston | 2024-12-09 21:57:17 | Re: Document NULL |