Unmark gen_random_uuid() function leakproof.
Masahiko Sawada <msawada@postgresql.org>
Unmark gen_random_uuid() function leakproof. The functions without arguments don't need to be marked leakproof. This commit unmarks gen_random_uuid() leakproof for consistency with upcoming UUID generation functions. Also, this commit adds a regression test to prevent reintroducing such cases. Bump catalog version. Reported-by: Peter Eisentraut Reviewed-by: Andres Freund Discussion: https://postgr.es/m/CAD21AoBE1ePPWY1NQEgk3DkqjYzLPZwYTzCySHm0e%2B9a69PfZw%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +1 −1 |
| src/test/regress/expected/opr_sanity.out | modified | +6 −1 |
| src/test/regress/sql/opr_sanity.sql | modified | +7 −0 |
Discussion
- Unmark gen_random_uuid() function leakproof 5 messages · 2024-12-09 → 2024-12-11