Unmark gen_random_uuid() function leakproof.

Masahiko Sawada <msawada@postgresql.org>

Commit: 398d3e3b5b8f4c81795e07655f28036839cc0550
Author: Masahiko Sawada <msawada@postgresql.org>
Date: 2024-12-11T18:35:57Z
Releases: 18.0
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

Discussion