pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Unmark gen_random_uuid() function leakproof.
Date: Wed, 11 Dec 2024 18:36:46 +0000
Message-ID: <E1tLRZl-002ERf-Pu@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/398d3e3b5b8f4c81795e07655f28036839cc0550

Modified Files
--------------
src/include/catalog/catversion.h         | 2 +-
src/include/catalog/pg_proc.dat          | 2 +-
src/test/regress/expected/opr_sanity.out | 7 ++++++-
src/test/regress/sql/opr_sanity.sql      | 7 +++++++
4 files changed, 15 insertions(+), 3 deletions(-)



Message-ID: <E1tLRZl-002ERf-Pu@gemulon.postgresql.org>
Permalink:  ../E1tLRZl-002ERf-Pu@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tLRZl-002ERf-Pu@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Unmark gen_random_uuid() function leakproof.
  In-Reply-To: <E1tLRZl-002ERf-Pu@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox